{"id":"CVE-2007-1540","aliases":["DEBIAN-CVE-2007-1540","EUVD-2007-1534","GHSA-6r5q-24m9-x8j7"],"status":"published","title":"Directory traversal vulnerability in am.pl in (1) SQL-Ledger 2.6.27 and earlier, and (2)...","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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.05096,"percentile":0.92421,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"published":"2007-03-20T22:00:00Z","modified":"2026-10-21T17:47:49Z","exploits":[{"source":"exploitdb","id":"EDB-29761","title":"LedgerSMB1.0/1.1 / SQL-Ledger 2.6.x - 'Login' Local File Inclusion / Authentication Bypass","type":"webapps","platform":"cgi","date":"2007-03-19","verified":true,"url":"https://www.exploit-db.com/exploits/29761"}],"fixes":[{"ecosystem":"Debian:12","package":"sql-ledger","fixed_in":["2.8.14-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"sql-ledger","fixed_in":["2.8.14-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"sql-ledger","fixed_in":["2.8.14-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"sql-ledger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.14-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"sql-ledger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.14-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"sql-ledger","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.14-1"}]}]}],"products":[{"vendor":"ledgersmb","product":"ledgersmb"},{"vendor":"sql-ledger","product":"sql-ledger"}],"references":[{"url":"http://secunia.com/advisories/24560","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html\u0026title=What%27s%20New","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_id=175965","tags":["x_refsource_CONFIRM","x_transferred","Patch","fix"]},{"url":"http://www.osvdb.org/33624","tags":["vdb-entry","x_refsource_OSVDB","x_transferred","web"]},{"url":"http://www.vupen.com/english/advisories/2007/1024","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/1025","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","advisory"]},{"url":"http://secunia.com/advisories/24585","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"http://www.securityfocus.com/archive/1/463175/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/23034","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1540"},{"url":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html\u0026title=What's%20New"},{"url":"https://github.com/advisories/GHSA-6r5q-24m9-x8j7"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-1540","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-1540","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.","status":"published","published":"2007-03-20T22:00:00Z","modified":"2024-08-07T12:59:08.628Z","updated_at":"2026-11-02T13:33:52.669326Z"}],"euvd":[{"id":"EUVD-2007-1534","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.","status":"published","published":"2007-03-20T22:00:00Z","modified":"2024-08-07T12:59:08Z","updated_at":"2026-11-03T01:38:25.361818Z"}],"ghsa":[{"id":"GHSA-6r5q-24m9-x8j7","title":"Directory traversal vulnerability in am.pl in (1) SQL-Ledger 2.6.27 and earlier, and (2)...","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.","status":"published","published":"2022-05-01T17:54:39Z","modified":"2025-04-09T03:40:13Z","updated_at":"2026-11-02T15:00:53.302842Z"}],"nvd":[{"id":"CVE-2007-1540","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.","status":"published","published":"2007-03-20T22:19:00Z","modified":"2026-06-16T22:37:47.47Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:01:13.98711Z"}],"osv":[{"id":"CVE-2007-1540","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.","status":"published","published":"2007-03-20T22:19:00Z","modified":"2026-04-10T03:38:43.739443Z","updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2007-1540","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.","status":"published","published":"2007-03-20T22:19:00Z","modified":"2026-10-21T17:47:49.123417503Z","updated_at":"2026-11-02T15:45:23.105674Z"}]}}
