nuclei-templates/http/cves/2024/CVE-2024-6842.yaml

49 lines
1.8 KiB
YAML
Raw Normal View History

2024-07-31 11:18:01 +00:00
id: CVE-2024-6842
info:
2024-08-25 02:35:44 +00:00
name: AnythingLLM - Information Disclosure
author: ingbunga,rahaaaiii,asteria121,breakpack,gy741
2024-07-31 11:18:01 +00:00
severity: high
description: |
2024-08-25 02:35:44 +00:00
AnythingLLM suffers from an information disclosure vulnerability through the `/api/setup-complete` API endpoint. By accessing this endpoint, a remote and unauthenticated attacker can access sensitive configuration of the target AnythingLLM instance. This detection is included in the AI and LLM category.
impact: |
An attacker can use the vulnerability to obtain device administrator rights.
2024-07-31 11:18:01 +00:00
reference:
2024-08-25 02:35:44 +00:00
- https://huntr.com/bounties/cd911fc7-ac6b-4974-acd0-9cc926fa8d9e
- https://nvd.nist.gov/vuln/detail/CVE-2024-6842
2024-07-31 11:18:01 +00:00
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score: 7.5
cve-id: CVE-2024-6842
cwe-id: CWE-200
metadata:
max-request: 1
2024-08-25 02:35:44 +00:00
verified: true
2024-07-31 11:18:01 +00:00
vendor: Mintplex Labs
product: anything-llm
2024-08-25 02:35:44 +00:00
shodan-query: title:"AnythingLLM"
tags: cve,cve2024,unauth,exposure,anything-llm,mintplex-Labs
2024-07-31 11:18:01 +00:00
2024-09-02 05:25:33 +00:00
http:
2024-07-31 11:18:01 +00:00
- method: GET
path:
- "{{BaseURL}}/api/setup-complete"
2024-08-25 03:01:35 +00:00
2024-07-31 11:18:01 +00:00
matchers-condition: and
matchers:
2024-08-25 02:35:44 +00:00
- type: dsl
dsl:
- 'contains_all(body, "AuthToken\":true", "ApiKey\":true")'
- 'contains(header, "application/json")'
- 'status_code == 200'
condition: and
2024-07-31 11:18:01 +00:00
- type: word
2024-08-25 02:35:44 +00:00
part: body
2024-07-31 11:18:01 +00:00
words:
2024-08-25 02:35:44 +00:00
- '"AgentGoogleSearchEngineId":'
- -"AgentGoogleSearchEngineKey":'
- '"AgentSerperApiKey":'
- '"AgentBingSearchApiKey":'
condition: or
2024-09-02 05:27:46 +00:00
# digest: 4a0a00473045022100a61c24e94b33081f4e95714ad2fe0fb920357b18800d23e8a28026e2b13d9dc7022040e0c101470b405c65ad59e5c454b817164c9766e2f04448357f4ab0d1d1d4ac:922c64590222798bb761d5b6d8e72950