CVE-2014-125115
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedAn unauthenticated SQL injection vulnerability exists in Pandora FMS version 5.0 SP2 and earlier. The mobile/index.php endpoint fails to properly sanitize user input in the loginhash_data parameter, allowing attackers to extract administrator credentials or active session tokens via crafted requests. This occurs because input is directly concatenated into an SQL query without adequate validation, enabling SQL injection. After authentication is bypassed, a second vulnerability in the File Manager component permits arbitrary PHP file uploads. The file upload functionality does not enforce MIME-type or file extension restrictions, allowing authenticated users to upload web shells into a publicly accessible directory and achieve remote code execution.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidencePandora FMS 5.0 SP2 and earlier contains an unauthenticated SQL injection in mobile/index.php via the loginhash_data parameter, allowing attackers to extract credentials or session tokens by injecting malicious SQL queries. Following successful authentication bypass, the File Manager component permits unrestricted PHP file uploads without MIME-type or extension validation, enabling remote code execution via web shell deployment.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- Authentication
- X
- User interaction
- None
- Scope
- X
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Pandora FMS installation and versionLocate Pandora FMS installation directory and check version files (typically in main install path, look for version.php or similar version metadata files)Affected if Version is 5.0 SP2 or earlier (5.0, 5.0 SP1, 5.0 SP2)
-
Verify mobile/index.php existsCheck for the presence of mobile/index.php in the web root or Pandora FMS web directoryAffected if The mobile/index.php file exists in the deployed application
-
Confirm loginhash_data parameter usageInspect mobile/index.php source code and search for 'loginhash_data' parameter handlingAffected if The loginhash_data parameter is used in the mobile/index.php without parameterized queries or input sanitization
-
Locate File Manager componentSearch for File Manager functionality in Pandora FMS (typically under 'godmode' or 'operation' directories, look for file manager or file upload related modules)Affected if File Manager component is present and accessible after authentication bypass
-
Check upload function validationExamine the File Manager upload code for MIME-type validation, extension allowlisting, and upload directory configurationAffected if Upload function lacks MIME-type validation, extension filtering, or stores files within the web root enabling PHP execution
A user is affected if running Pandora FMS version 5.0 SP2 or earlier with mobile/index.php accessible and the loginhash_data parameter vulnerable to SQL injection, followed by access to an unrestricted File Manager upload feature.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedReplace direct SQL concatenation with parameterized queries or prepared statements in mobile/index.php to remediate the SQL injection, and implement strict MIME-type validation, allowlist-based extension filtering, and store uploads outside the web root to prevent arbitrary PHP execution.
Latest stable Pandora FMS release (version greater than 5.0 SP2)
- 1. Backup the current Pandora FMS installation and database before making any changes.
- 2. Download the latest stable version of Pandora FMS from the official vendor website or repository.
- 3. Upgrade the Pandora FMS installation to the latest version to resolve both the SQL injection and arbitrary file upload vulnerabilities.
- 4. After upgrading, verify that the mobile/index.php endpoint properly sanitizes the loginhash_data parameter.
- 5. Confirm that the File Manager component now enforces proper MIME-type and file extension restrictions to prevent PHP uploads.
- 6. Test that the authentication mechanism is working correctly and SQL injection is no longer possible.
- 7. Validate that file upload functionality restricts allowed file types to non-executable formats.
- 8. Review all administrative accounts and reset credentials as a precaution, since the SQL injection could have exposed password hashes.
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2014-125115 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2014-125115 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data