CVE-2007-1540
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 5.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 5.1% in the next 30 days (EPSS).
- Severity: 4.3 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 5.1% · EPSS, next 30 days
- Record status
- Modified
Affected
- Ledgersmb ≤ 1.1.8
- sql-ledger ≤ 2.6.27
Attack profile CVSS 2.0 · 4.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- None
- Availability
- None
Raw vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-1540.md and follow it. Check whether this project is affected by CVE-2007-1540. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965
- http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965
References
- http://secunia.com/advisories/24560
- http://secunia.com/advisories/24585
- http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965
- http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New
- http://www.osvdb.org/33624
- http://www.securityfocus.com/archive/1/463175/100/0/threaded
- http://www.securityfocus.com/bid/23034
- http://www.vupen.com/english/advisories/2007/1024
- http://www.vupen.com/english/advisories/2007/1025
- http://secunia.com/advisories/24560
- http://secunia.com/advisories/24585
- http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965
- http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New
- http://www.osvdb.org/33624
- http://www.securityfocus.com/archive/1/463175/100/0/threaded
- http://www.securityfocus.com/bid/23034
- http://www.vupen.com/english/advisories/2007/1024
- http://www.vupen.com/english/advisories/2007/1025