CVE-2024-25738 VuFind Server-Side Request Forgery (SSRF) vulnerability

Critical 9.1 Published Updated

Remote attackers can exploit SSRF to overwrite configs and achieve RCE if allow_url_include is enabled and the Upgrade route is exposed.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-25738?

CVE-2024-25738 is a critical server-side request forgery vulnerability in n/a, published on 22 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-918

Which versions are affected by CVE-2024-25738?

2 open source packages ship an affected version, including vufind/vufind.

PackageAffectedFixed in
vufind/vufind PackagistFrom 2.09.1.1
vufind/vufind PackagistFrom 2.09.1.1

How do I fix CVE-2024-25738?

Upgrade vufind/vufind to 9.1.1 or later.

Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.

Is CVE-2024-25738 being exploited?

There is no known exploitation of CVE-2024-25738 in the wild and no public exploit code.

Sources

Also known as GHSA-wx24-vqrg-m6m5.

Is CVE-2024-25738 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free