CVE-2013-6919: James heinrich/phpthumb PhpThumb Is Vulnerable To Server-Side Vulnerability
MODERATECVE-2013-6919 is a MODERATE phpthumb is vulnerable to server-side vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting James heinrich/phpthumb libraries in the Packagist ecosystem. The issue involves phpthumb is vulnerable to server-side request forgery (ssrf). Remediation is available by upgrading affected packages to version 1.7.12.
CVE-2013-6919 at a Glance
How to Fix CVE-2013-6919
To remediate this vulnerability, upgrade all affected James heinrich/phpthumb 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 james-heinrich/phpthumb to 1.7.12
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for james-heinrich/phpthumb
How to Check if You Are Affected
To determine whether your application is affected by CVE-2013-6919, inspect your project dependencies for James heinrich/phpthumb:
inspect dependencies for james-heinrich/phpthumb
Analyze the terminal output to locate any version of James heinrich/phpthumb in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.7.12), 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-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In James heinrich/phpthumb, 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-2013-6919 Affected James heinrich/phpthumb Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
james-heinrich/phpthumb
|
Packagist |
< 1.7.12
|
1.7.12
|
References
Frequently Asked Questions
What is CVE-2013-6919?
Which James heinrich/phpthumb versions are affected?
What version fixes CVE-2013-6919?
Is james-heinrich/phpthumb affected?
What CWE is associated with CVE-2013-6919?
How can I check Packagist dependencies for CVE-2013-6919?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3747-gjc9-vvg6",
"modified" : "2023-08-29T18:13:58Z",
"published" : "2022-05-17T04:19:03Z",
"aliases" : [ "CVE-2013-6919" ],
"summary" : "phpThumb is vulnerable to Server-Side Request Forgery (SSRF)",
"details" : "The default configuration of phpThumb before 1.7.12 has a false value for the disable_debug option, which allows remote attackers to conduct Server-Side Request Forgery (SSRF) attacks via the src parameter.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "james-heinrich/phpthumb"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.7.12"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-6919"
}, {
"type" : "WEB",
"url" : "https://github.com/JamesHeinrich/phpThumb/commit/457a37d4a22ac9cdbbfe19577376622e58df81b0"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/JamesHeinrich/phpThumb"
}, {
"type" : "WEB",
"url" : "https://github.com/JamesHeinrich/phpThumb/blob/7ee966b38ddd7eb4d8091389aa514604710711c8/docs/phpthumb.changelog.txt#L106"
}, {
"type" : "WEB",
"url" : "http://www.rafayhackingarticles.net/2013/11/phpthumb-server-side-request-forgery.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2023-08-29T18:13:58Z",
"nvd_published_at" : "2014-12-27T18:59:00Z"
}
}