Cloudanix VulnDB

CVE-2007-3325

None

CVSS

—

EPSS

64.4%

Published

Jun 21, 2007

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Attend

Attackers can trick this old system into running any code they want from the internet, giving them full control of the server.

Exploit Available
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Trivial
Impact
Remote Code Execution
Component
Application
Class
RCE
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Remote file inclusion in lib/language.php allows arbitrary PHP code execution by supplying a remote URL via the _LIB_DIR parameter.

Why it matters to the business

Attackers can fully compromise the web server, steal data, or use the system to launch further attacks with minimal effort due to the flaw's age and available exploits.

How an attack unfolds

An attacker crafts an HTTP request to language.php setting _LIB_DIR to a URL hosting malicious PHP code; the application includes and executes the remote file, granting code execution without authentication.

How to fix it

Upgrade LMS to a version newer than 1.9.6 that removes the vulnerable inclusion logic or apply a code patch to sanitize and restrict _LIB_DIR to local paths only; disable remote URL includes in PHP configuration.

How to confirm the fix worked

Review lib/language.php for direct use of $_GET/_LIB_DIR in include/require statements; attempt a controlled test request with a benign local file path and confirm it is rejected.

Typical attack path

  1. Identify a vulnerable LMS installation via version fingerprinting or error messages.
  2. Host malicious PHP payload on an attacker-controlled server.
  3. Send crafted GET/POST request with _LIB_DIR pointing to the malicious URL.
  4. Execute arbitrary commands on the server and establish persistence or exfiltrate data.

How to detect it

Search web server access logs for requests to language.php containing _LIB_DIR with http/https URLs or unexpected remote paths; look for subsequent PHP error logs or process executions originating from included remote content.

  • _LIB_DIR=http
  • language.php?_LIB_DIR=
  • lib/language.php.*_LIB_DIR

What your security team should do

  • Immediately isolate or decommission any remaining LMS 1.9.6 instances given the 2007 publication date and public exploit availability.
  • Scan the environment for LMS installations and enforce network segmentation or WAF rules blocking suspicious file inclusion parameters.
  • Replace the product with a maintained alternative if upstream support has ended.

The record

PHP remote file inclusion vulnerability in lib/language.php in LAN Management System (LMS) 1.9.6 and earlier allows remote attackers to execute arbitrary PHP code via a URL in the _LIB_DIR parameter, a different vector than CVE-2007-1643 and CVE-2007-2205.

Affected packages

Ecosystem Package Introduced Fixed