{
    "id": "CVE-2007-1540",
    "published": "2007-03-20 22:19:00",
    "last_modified": "2026-06-16 22:37:47",
    "cvss_score": "4.3",
    "cvss_severity": "MEDIUM",
    "cvss_version": "2.0",
    "cvss_vector": "AV:N/AC:M/Au:N/C:P/I:N/A:N",
    "cwe": null,
    "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.",
    "epss_score": "0.04940",
    "epss_percentile": "0.91887",
    "kev": 0,
    "kev_due": null,
    "has_exploit": 1,
    "updated_at": "2026-10-02 18:17:06",
    "priority": {
        "rank": 2,
        "label": "Patch early",
        "why": "A public exploit exists."
    },
    "products": [
        {
            "vendor": "ledgersmb",
            "product": "ledgersmb"
        },
        {
            "vendor": "sql-ledger",
            "product": "sql-ledger"
        }
    ],
    "kev_detail": null,
    "exploits": [
        {
            "source": "exploit-db",
            "ref_id": "29761",
            "title": "LedgerSMB1.0/1.1 / SQL-Ledger 2.6.x - 'Login' Local File Inclusion / Authentication Bypass",
            "date": "2007-03-19",
            "url": "https://www.exploit-db.com/exploits/29761"
        }
    ],
    "refs_list": [
        "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"
    ]
}