{"api_version":"1","generated_at":"2026-07-23T20:47:10+00:00","cve":"CVE-2007-1540","urls":{"html":"https://cve.report/CVE-2007-1540","api":"https://cve.report/api/cve/CVE-2007-1540.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2007-1540","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2007-1540"},"summary":{"title":"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.","state":"PUBLISHED","assigner":"mitre","published_at":"2007-03-20 22:19:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"4.3","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"}}],"references":[{"url":"http://www.vupen.com/english/advisories/2007/1025","name":"http://www.vupen.com/english/advisories/2007/1025","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/24585","name":"http://secunia.com/advisories/24585","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"LedgerSMB Unspecified Code Execution Vulnerability - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.vupen.com/english/advisories/2007/1024","name":"http://www.vupen.com/english/advisories/2007/1024","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Webmail : Solution de messagerie professionnelle - OVHcloud- OVH","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965","name":"http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"SourceForge.net: LedgerSMB: Files","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New","name":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SQL-Ledger ERP","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/463175/100/0/threaded","name":"http://www.securityfocus.com/archive/1/463175/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/24560","name":"http://secunia.com/advisories/24560","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"SQL-Ledger Unspecified Code Execution Vulnerability - Advisories - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/23034","name":"http://www.securityfocus.com/bid/23034","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"LedgerSMB/SQL-Ledger Login Parameter Local File Include And Authentication Bypass Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.osvdb.org/33624","name":"http://www.osvdb.org/33624","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What's%20New","name":"CONFIRM:http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What's%20New","refsource":"MITRE","tags":[],"title":"SQL-Ledger ERP","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1540","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1540","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2007","cve_id":"1540","vulnerable":"1","versionEndIncluding":"1.1.8","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ledgersmb","cpe5":"ledgersmb","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2007","cve_id":"1540","vulnerable":"1","versionEndIncluding":"2.6.27","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"sql-ledger","cpe5":"sql-ledger","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T12:59:08.628Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"24560","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/24560"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965"},{"name":"33624","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/33624"},{"name":"ADV-2007-1024","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/1024"},{"name":"ADV-2007-1025","tags":["vdb-entry","x_refsource_VUPEN","x_transferred"],"url":"http://www.vupen.com/english/advisories/2007/1025"},{"name":"24585","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/24585"},{"name":"20070318 Full Disclosure: Arbitrary execution vulnerability in SQL-Ledger and LedgerSMB","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/463175/100/0/threaded"},{"name":"23034","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/23034"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2007-03-18T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-16T14:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"24560","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/24560"},{"tags":["x_refsource_CONFIRM"],"url":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What%27s%20New"},{"tags":["x_refsource_CONFIRM"],"url":"http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965"},{"name":"33624","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/33624"},{"name":"ADV-2007-1024","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/1024"},{"name":"ADV-2007-1025","tags":["vdb-entry","x_refsource_VUPEN"],"url":"http://www.vupen.com/english/advisories/2007/1025"},{"name":"24585","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/24585"},{"name":"20070318 Full Disclosure: Arbitrary execution vulnerability in SQL-Ledger and LedgerSMB","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/463175/100/0/threaded"},{"name":"23034","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/23034"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2007-1540","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"24560","refsource":"SECUNIA","url":"http://secunia.com/advisories/24560"},{"name":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What's%20New","refsource":"CONFIRM","url":"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html&title=What's%20New"},{"name":"http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965","refsource":"CONFIRM","url":"http://sourceforge.net/project/shownotes.php?release_id=494462&group_id=175965"},{"name":"33624","refsource":"OSVDB","url":"http://www.osvdb.org/33624"},{"name":"ADV-2007-1024","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/1024"},{"name":"ADV-2007-1025","refsource":"VUPEN","url":"http://www.vupen.com/english/advisories/2007/1025"},{"name":"24585","refsource":"SECUNIA","url":"http://secunia.com/advisories/24585"},{"name":"20070318 Full Disclosure: Arbitrary execution vulnerability in SQL-Ledger and LedgerSMB","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/463175/100/0/threaded"},{"name":"23034","refsource":"BID","url":"http://www.securityfocus.com/bid/23034"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2007-1540","datePublished":"2007-03-20T22:00:00.000Z","dateReserved":"2007-03-20T00:00:00.000Z","dateUpdated":"2024-08-07T12:59:08.628Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2007-03-20 22:19:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:N/A:N","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ledgersmb:ledgersmb:*:*:*:*:*:*:*:*","versionEndIncluding":"1.1.8","matchCriteriaId":"8F7858BB-0570-4E97-BB32-536D30DC4525"},{"vulnerable":true,"criteria":"cpe:2.3:a:sql-ledger:sql-ledger:*:*:*:*:*:*:*:*","versionEndIncluding":"2.6.27","matchCriteriaId":"E2FBBC0F-B7B2-44BB-9126-FE55DD095273"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2007","CveId":"1540","Ordinal":"1","Title":"CVE-2007-1540","CVE":"CVE-2007-1540","Year":"2007"},"notes":[{"CveYear":"2007","CveId":"1540","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2007-1540"},{"CveYear":"2007","CveId":"1540","Ordinal":"2","NoteData":"2007-03-20","Type":"Other","Title":"Published"},{"CveYear":"2007","CveId":"1540","Ordinal":"3","NoteData":"2018-10-16","Type":"Other","Title":"Modified"}]}}}