CVE-2017-14077: Dapphp/securimage Securimage HTML Injection Vulnerability
MODERATECVE-2017-14077 is a MODERATE (CVSS 6.1) securimage html injection vulnerability (CWE-94: Improper Control of Generation of Code ('Code Injection')) affecting Dapphp/securimage libraries in the Packagist ecosystem. The issue involves securimage html injection. Remediation is available by upgrading affected packages to version 3.6.6.
CVE-2017-14077 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2017-14077
To remediate this vulnerability, upgrade all affected Dapphp/securimage dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade dapphp/securimage to 3.6.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for dapphp/securimage
How to Check if You Are Affected
To determine whether your application is affected by CVE-2017-14077, inspect your project dependencies for Dapphp/securimage:
inspect dependencies for dapphp/securimage
Analyze the terminal output to locate any version of Dapphp/securimage in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.6.6), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-94: Improper Control of Generation of Code ('Code Injection'), where the product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment. In Dapphp/securimage, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2017-14077 Affected Dapphp/securimage Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
dapphp/securimage
|
Packagist |
< 3.6.6
|
3.6.6
|
References
Frequently Asked Questions
What is CVE-2017-14077?
Which Dapphp/securimage versions are affected?
What version fixes CVE-2017-14077?
Is dapphp/securimage affected?
What is the CVSS score of CVE-2017-14077?
What CWE is associated with CVE-2017-14077?
How can I check Packagist dependencies for CVE-2017-14077?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-q6v4-xjp2-8ggv",
"modified" : "2024-04-23T17:14:29Z",
"published" : "2022-05-13T01:11:18Z",
"aliases" : [ "CVE-2017-14077" ],
"summary" : "Securimage HTML Injection ",
"details" : "HTML Injection in Securimage prior to 3.6.6 allows remote attackers to inject arbitrary HTML into an e-mail message body via the `$_SERVER['HTTP_USER_AGENT']` parameter to `example_form.ajax.php` or `example_form.php`.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "dapphp/securimage"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.6.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-14077"
}, {
"type" : "WEB",
"url" : "https://github.com/dapphp/securimage/commit/2c7ce3f6fa5ab86fd0ac8e3b4d5d72a21329d8ea"
}, {
"type" : "WEB",
"url" : "https://advisory.checkmarx.net/advisory/CX-2017-4223"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dapphp/securimage"
}, {
"type" : "WEB",
"url" : "https://www.checkmarx.com/advisories/html-injection-securimage"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-94" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-23T17:14:29Z",
"nvd_published_at" : "2017-11-18T01:29:00Z"
}
}