CVE-2007-1540

Exp

Directory traversal vulnerability in am.pl in (1) SQL-Ledger 2.6.27 and earlier, and (2) LedgerSMB before 1.2.0, allows remote attackers to run arbitrary executables and bypass authentication via a .. (dot dot) sequence and trailing NULL (%00) in the login parameter. NOTE: this issue was reportedly addressed in SQL-Ledger 2.6.27, however third-party researchers claim that the file is still executed even though an error is generated.

Published: 2007-03-20 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-1540 is rated High Exploit Risk (60.7/100): CVSS Medium severity, with high exploitation likelihood (EPSS 4.94%, 91th percentile). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2007-1540

EDB-ID Source Kind Published Link
29761 exploit_db edb 2007-03-19 Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2007-1540

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 8.24% 4.94% -3.30%
2 2026-01-11 8.02% 8.24% +0.22%
3 2025-12-09 8.02%

Full EPSS history (17 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-1540

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:N)
No integrity impact.
Availability impact (A:N)
No availability impact.
8.6 2.9 [email protected]

Weakness enumeration for CVE-2007-1540

OS Trackers for CVE-2007-1540

vendor priority summary link
debian unimportant CVE-2007-1540 unimportant priority: Debian including 1 source packages (sql-ledger), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2007-1540
ubuntu medium CVE-2007-1540 medium priority: Ubuntu including 1 source packages (sql-ledger), 9 status rows across 9 suites (dapper, edgy, feisty, gutsy, hardy, intrepid, jaunty, karmic, upstream): ignored 4, not-affected 4, released 1. https://ubuntu.com/security/CVE-2007-1540

Affected software / configurations for CVE-2007-1540

Vendor Product Version Raw CPE
ledgersmb ledgersmb <= 1.1.8 cpe:2.3:a:ledgersmb:ledgersmb:*:*:*:*:*:*:*:*
sql-ledger sql-ledger <= 2.6.27 cpe:2.3:a:sql-ledger:sql-ledger:*:*:*:*:*:*:*:*

References for CVE-2007-1540

cvelogic Threat Intelligence