GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2007-1540 (GCVE-0-2007-1540)

Vulnerability from cvelistv5 – Published: 2007-03-20 22:00 – Updated: 2024-08-07 12:59
VLAI
Summary
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
No CVSS data available.
CWE
  • n/a
References
URL Tags
http://secunia.com/advisories/24560 third-party-advisoryx_refsource_SECUNIA
http://sql-ledger.com/cgi-bin/nav.pl?page=news.ht… x_refsource_CONFIRM
http://sourceforge.net/project/shownotes.php?rele… x_refsource_CONFIRM
http://www.osvdb.org/33624 vdb-entryx_refsource_OSVDB
http://www.vupen.com/english/advisories/2007/1024 vdb-entryx_refsource_VUPEN
http://www.vupen.com/english/advisories/2007/1025 vdb-entryx_refsource_VUPEN
http://secunia.com/advisories/24585 third-party-advisoryx_refsource_SECUNIA
http://www.securityfocus.com/archive/1/463175/100… mailing-listx_refsource_BUGTRAQ
http://www.securityfocus.com/bid/23034 vdb-entryx_refsource_BID
Date Public
2007-03-18 00:00
Show details on NVD website

{
  "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\u0026title=What%27s%20New"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_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\u0026title=What%27s%20New"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_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\u0026title=What\u0027s%20New",
              "refsource": "CONFIRM",
              "url": "http://sql-ledger.com/cgi-bin/nav.pl?page=news.html\u0026title=What\u0027s%20New"
            },
            {
              "name": "http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_id=175965",
              "refsource": "CONFIRM",
              "url": "http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2007-1540",
      "date": "2026-09-16",
      "epss": "0.0494",
      "percentile": "0.91703"
    },
    "fkie_nvd": {
      "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\"}]}]}]",
      "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.\"}, {\"lang\": \"es\", \"value\": \"Una vulnerabilidad de salto de directorio en el archivo am.pl en (1) SQL-Ledger versi\\u00f3n 2.6.27 y anteriores, y (2) LedgerSMB anterior a la versi\\u00f3n 1.2.0, permite a los atacantes remotos correr ejecutables arbitrarios y omitir autenticaci\\u00f3n mediante una secuencia .. (punto punto) y al final NULL (%00) en el par\\u00e1metro  login. NOTA: este problema se solucion\\u00f3 en SQL-Ledger versi\\u00f3n 2.6.27, sin embargo, los investigadores externos afirman que el archivo todav\\u00eda se ejecuta, aunque se genera un error.\"}]",
      "id": "CVE-2007-1540",
      "lastModified": "2024-11-21T00:28:34.190",
      "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}]}",
      "published": "2007-03-20T22:19:00.000",
      "references": "[{\"url\": \"http://secunia.com/advisories/24560\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://secunia.com/advisories/24585\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_id=175965\", \"source\": \"cve@mitre.org\", \"tags\": [\"Patch\"]}, {\"url\": \"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html\u0026title=What%27s%20New\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://www.osvdb.org/33624\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://www.securityfocus.com/archive/1/463175/100/0/threaded\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://www.securityfocus.com/bid/23034\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://www.vupen.com/english/advisories/2007/1024\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://www.vupen.com/english/advisories/2007/1025\", \"source\": \"cve@mitre.org\"}, {\"url\": \"http://secunia.com/advisories/24560\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://secunia.com/advisories/24585\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_id=175965\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\", \"tags\": [\"Patch\"]}, {\"url\": \"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html\u0026title=What%27s%20New\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://www.osvdb.org/33624\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://www.securityfocus.com/archive/1/463175/100/0/threaded\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://www.securityfocus.com/bid/23034\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://www.vupen.com/english/advisories/2007/1024\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"http://www.vupen.com/english/advisories/2007/1025\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": "[{\"source\": \"nvd@nist.gov\", \"type\": \"Primary\", \"description\": [{\"lang\": \"en\", \"value\": \"NVD-CWE-Other\"}]}]"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2007-1540\",\"sourceIdentifier\":\"cve@mitre.org\",\"published\":\"2007-03-20T22:19:00.000\",\"lastModified\":\"2026-04-23T00:35:47.467\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"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.\"},{\"lang\":\"es\",\"value\":\"Una vulnerabilidad de salto de directorio en el archivo am.pl en (1) SQL-Ledger versi\u00f3n 2.6.27 y anteriores, y (2) LedgerSMB anterior a la versi\u00f3n 1.2.0, permite a los atacantes remotos correr ejecutables arbitrarios y omitir autenticaci\u00f3n mediante una secuencia .. (punto punto) y al final NULL (%00) en el par\u00e1metro  login. NOTA: este problema se solucion\u00f3 en SQL-Ledger versi\u00f3n 2.6.27, sin embargo, los investigadores externos afirman que el archivo todav\u00eda se ejecuta, aunque se genera un error.\"}],\"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}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-Other\"}]}],\"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\"}]}]}],\"references\":[{\"url\":\"http://secunia.com/advisories/24560\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/24585\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_id=175965\",\"source\":\"cve@mitre.org\",\"tags\":[\"Patch\"]},{\"url\":\"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html\u0026title=What%27s%20New\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.osvdb.org/33624\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.securityfocus.com/archive/1/463175/100/0/threaded\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.securityfocus.com/bid/23034\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.vupen.com/english/advisories/2007/1024\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://www.vupen.com/english/advisories/2007/1025\",\"source\":\"cve@mitre.org\"},{\"url\":\"http://secunia.com/advisories/24560\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://secunia.com/advisories/24585\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://sourceforge.net/project/shownotes.php?release_id=494462\u0026group_id=175965\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"http://sql-ledger.com/cgi-bin/nav.pl?page=news.html\u0026title=What%27s%20New\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.osvdb.org/33624\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.securityfocus.com/archive/1/463175/100/0/threaded\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.securityfocus.com/bid/23034\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.vupen.com/english/advisories/2007/1024\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"http://www.vupen.com/english/advisories/2007/1025\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}"
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…