CVE-2024-25738: Vufind/vufind VuFind Server-Side Request Forgery (SSRF) Vulnerability
CRITICALCVE-2024-25738 is a CRITICAL (CVSS 9.1) vufind server-side request forgery (ssrf) vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Vufind/vufind libraries in the Packagist ecosystem. The issue involves vufind server-side request forgery (ssrf) vulnerability. Remediation is available by upgrading affected packages to version 9.1.1.
CVE-2024-25738 at a Glance
Security Impact
CVSS: 9.1
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:H/A:N).
How to Fix CVE-2024-25738
To remediate this vulnerability, upgrade all affected Vufind/vufind 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 vufind/vufind to 9.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for vufind/vufind
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-25738, inspect your project dependencies for Vufind/vufind:
inspect dependencies for vufind/vufind
Analyze the terminal output to locate any version of Vufind/vufind in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 9.1.1), 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 Vufind/vufind, 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-2024-25738 Affected Vufind/vufind Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vufind/vufind
|
Packagist |
≥ 2.0
< 9.1.1
|
9.1.1
|
References
Frequently Asked Questions
What is CVE-2024-25738?
Which Vufind/vufind versions are affected?
What version fixes CVE-2024-25738?
Is vufind/vufind affected?
What is the CVSS score of CVE-2024-25738?
What CWE is associated with CVE-2024-25738?
How can I check Packagist dependencies for CVE-2024-25738?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wx24-vqrg-m6m5",
"modified" : "2024-05-23T14:20:47Z",
"published" : "2024-05-22T21:30:35Z",
"aliases" : [ "CVE-2024-25738" ],
"summary" : "VuFind Server-Side Request Forgery (SSRF) vulnerability",
"details" : "A Server-Side Request Forgery (SSRF) vulnerability in the /Upgrade/FixConfig route in Open Library Foundation VuFind 2.0 through 9.1 before 9.1.1 allows a remote attacker to overwrite local configuration files to gain access to the administrator panel and achieve Remote Code Execution. A mitigating factor is that it requires the allow_url_include PHP runtime setting to be on, which is off in default installations. It also requires the /Upgrade route to be exposed, which is exposed by default after installing VuFind, and is recommended to be disabled by setting autoConfigure to false in config.ini.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "vufind/vufind"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0"
}, {
"fixed" : "9.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-25738"
}, {
"type" : "WEB",
"url" : "https://github.com/vufind-org/vufind/commit/a19577d3d87d68e5c3f8ade63added44882a193c"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vufind-org/vufind"
}, {
"type" : "WEB",
"url" : "https://vufind.org/wiki/security:cve-2024-25738"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-23T14:20:46Z",
"nvd_published_at" : "2024-05-22T19:15:08Z"
}
}