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

vufind/vufind Updated 02 Oct 2025

Summary

22/05/2024
Yes i
Critical
9.1

CVE-2024-25738: VuFind Server-Side Request Forgery (SSRF) vulnerability. Affects vufind/vufind versions >= 2.0, < 9.1.1. Fixed in 9.1.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

VuFind is an open-source library management system that provides a web-based interface for searching and accessing library resources. It is widely used by libraries and institutions to manage their collections and facilitate user access. This vulnerability affects VuFind versions 2.0 through 9.1 before 9.1.1. The vulnerability allows a remote attacker to exploit a Server-Side Request Forgery (SSRF) vulnerability in the /Upgrade/FixConfig route, leading to the overwrite of local configuration files. This can grant unauthorized access to the administrator panel and potentially enable Remote Code Execution. It is important to note that the vulnerability requires the allow_url_include PHP runtime setting to be enabled, which is typically disabled in default installations. Additionally, the /Upgrade route, which is exposed by default after installing VuFind, is recommended to be disabled by setting autoConfigure to false in config.ini.

Vulnerability Detail

The vulnerability arises due to a Server-Side Request Forgery (SSRF) issue in the /Upgrade/FixConfig route of VuFind. By exploiting this vulnerability, a remote attacker can manipulate the application to make arbitrary requests to internal resources or external systems. This can lead to various security risks, including unauthorized access to sensitive information, data leakage, and potential Remote Code Execution. The impact of this vulnerability is critical, with a CVSS score of 9.1.

How To Fix

Minimum fixed version

9.1.1

This is the first release that contains the fix.

composer require vufind/vufind:9.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a workaround, if upgrading to the latest version is not immediately feasible, it is recommended to disable the /Upgrade route manually. This can be done by setting autoConfigure to false in the config.ini file. Additionally, ensure that the allow_url_include PHP runtime setting is disabled by modifying the PHP configuration file (php.ini) and setting allow_url_include to Off.

Conclusion

In conclusion, the VuFind Server-Side Request Forgery (SSRF) vulnerability poses a critical security risk, potentially leading to unauthorized access and Remote Code Execution. It is crucial to upgrade to the latest version of VuFind, apply the necessary patches, and disable the vulnerable routes and PHP runtime settings. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for vufind/vufind →

Share this vulnerability

FAQ

VuFind is an open-source library management system that provides a web-based interface for searching and accessing library resources.

Server-Side Request Forgery (SSRF) is a vulnerability that allows an attacker to manipulate an application into making arbitrary requests to internal resources or external systems.

The vulnerability can lead to unauthorized access to sensitive information, data leakage, and potential Remote Code Execution.

To fix this vulnerability, upgrade to VuFind version 9.1.1 or later, disable the allow_url_include PHP runtime setting, and disable the /Upgrade route.

Yes, you can manually disable the /Upgrade route and ensure that the allow_url_include PHP runtime setting is disabled.

Related vulnerabilities

Recent vulnerabilities recorded for vufind/vufind.

How To Fix

Minimum fixed version

9.1.1

This is the first release that contains the fix.

composer require vufind/vufind:9.1.1

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback