HOMEVULNERABILITIESCVE-2007-1540
MEDIUMPOC

CVE-2007-1540

NVD-CWE-OtherPublished: March 20, 2007· Updated: Jun 16, 2026

4.3
CVSS v3.1

Official Description

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.

NVD Source

Technical Analysis

CVE-2007-1540 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.

Exploitation requires some privileges, which limits the exposure to scenarios where an attacker has already gained initial access.

A proof-of-concept (PoC) exploit exists for CVE-2007-1540. While not yet confirmed in active campaigns, the availability of PoC code increases exploitation risk substantially.

CVSS v3.1 Vector Breakdown

Exploitability
Attack VectorNetwork
Attack ComplexityM
Privileges Req.
User Interaction
Scope
Impact
ConfidentialityP
IntegrityNone
AvailabilityNone
AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected Vendors & Products

ledgersmb1 product(s)
ledgersmb
sql-ledger1 product(s)
sql-ledger
Source: NVD CPE · 2 total CPE entries

Exploit & PoC Resources

POC AVAILABLEProof-of-concept code exists
External links open in a new tab. Always verify in a controlled environment before use.

Official Patches & Advisories

All References (18)

Quick Facts

CVE IDCVE-2007-1540
CVSS Score4.3 / 10
SeverityMEDIUM
CISA KEVNo
ExploitPOC
Affected2 vendor(s)
PublishedMar 20, 2007

Related CVEs (NVD-CWE-Other)

Recommended Actions

  • Apply vendor patches immediately
  • Monitor CVE-2007-1540 in threat intel feeds
  • Review IDS/IPS signatures for exploitation attempts
Data sourced from NVD (NIST), CISA KEV, and EPSS (FIRST). Analysis generated by CTIWATCH.COM. CVE data is provided under the NVD usage policy.