CVE-2022-24980: Kitodo/presentation SSRF Vulnerability
HIGHCVE-2022-24980 is a HIGH (CVSS 7.5) ssrf vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Kitodo/presentation libraries in the Packagist ecosystem. The issue involves ssrf in kitodo.presentation. Remediation is available by upgrading affected packages to version 2.3.2, 3.2.3, 3.3.4.
CVE-2022-24980 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2022-24980
To remediate this vulnerability, upgrade all affected Kitodo/presentation 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 kitodo/presentation to 2.3.2
Upgrade kitodo/presentation to 3.2.3
Upgrade kitodo/presentation to 3.3.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for kitodo/presentation
How to Check if You Are Affected
To determine whether your application is affected by CVE-2022-24980, inspect your project dependencies for Kitodo/presentation:
inspect dependencies for kitodo/presentation
Analyze the terminal output to locate any version of Kitodo/presentation in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.3.2), 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 Kitodo/presentation, 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-2022-24980 Affected Kitodo/presentation Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
kitodo/presentation
|
Packagist |
< 2.3.2
|
2.3.2
|
|
kitodo/presentation
|
Packagist |
≥ 3.0.0
< 3.2.3
|
3.2.3
|
|
kitodo/presentation
|
Packagist |
≥ 3.3.0
< 3.3.4
|
3.3.4
|
References
Frequently Asked Questions
What is CVE-2022-24980?
Which Kitodo/presentation versions are affected?
What version fixes CVE-2022-24980?
Is kitodo/presentation affected?
What is the CVSS score of CVE-2022-24980?
What CWE is associated with CVE-2022-24980?
How can I check Packagist dependencies for CVE-2022-24980?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x832-r2rj-4g5p",
"modified" : "2023-07-11T00:15:22Z",
"published" : "2022-02-20T00:00:32Z",
"aliases" : [ "CVE-2022-24980" ],
"summary" : "SSRF in Kitodo.Presentation",
"details" : "An issue was discovered in the Kitodo.Presentation (aka dlf) extension before 2.3.2, 3.x before 3.2.3, and 3.3.x before 3.3.4 for TYPO3. A missing access check in an eID script allows an unauthenticated user to submit arbitrary URLs to this component. This results in SSRF, allowing attackers to view the content of any file or webpage the webserver has access to.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "kitodo/presentation"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.3.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "kitodo/presentation"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.2.3"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "kitodo/presentation"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.3.0"
}, {
"fixed" : "3.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2022-24980"
}, {
"type" : "WEB",
"url" : "https://github.com/kitodo/kitodo-presentation/commit/059be3f82b08c60cbb798986cd3ff22dbf60a5e4"
}, {
"type" : "WEB",
"url" : "https://github.com/kitodo/kitodo-presentation/commit/4a20621afc30778ba3b045be5110353cf4fd4fd4"
}, {
"type" : "WEB",
"url" : "https://github.com/kitodo/kitodo-presentation/commit/9700478b46445f562c3e2051d61565d779f59275"
}, {
"type" : "WEB",
"url" : "https://security.snyk.io/vuln/SNYK-PHP-KITODOPRESENTATION-2407280"
}, {
"type" : "WEB",
"url" : "https://typo3.org/help/security-advisories"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-ext-sa-2022-001"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-07-11T00:15:22Z",
"nvd_published_at" : "2022-02-19T04:15:00Z"
}
}