Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
> [Suggested description]
> Diary Management System v1.0 was discovered to contain a cross-site
> scripting (XSS) vulnerability via the Name parameter in
> search-result.php.
>
> ------------------------------------------
>
> [Additional Information]
> Single XSS payload will trigger in all Dashboard, so account take over will be occurred.
>
> ------------------------------------------
>
> [Vulnerability Type]
> Cross Site Scripting (XSS)
>
> ------------------------------------------
>
> [Vendor of Product]
> PHPGurukul e-Diary Management System,there is XSS through the name parameter in search-result.php
>
> ------------------------------------------
>
> [Affected Product Code Base]
> https://phpgurukul.com/e-diary-management-system-using-php-and-mysql/ - V 1.0
>
> ------------------------------------------
>
> [Affected Component]
> search-result.php
>
> ------------------------------------------
>
> [Attack Type]
> Local
>
> ------------------------------------------
>
> [Impact Code execution]
> true
>
> ------------------------------------------
>
> [Impact Escalation of Privileges]
> true
>
> ------------------------------------------
>
> [Attack Vectors]
> 1. Go to dashboard.php and right side search box.
>
> 2. In search field , set malicious XSS payload
>
> POST /edms/search-result.php HTTP/1.1
>
> Cookie: PHPSESSID=vg5k2q8lm586f1kmig3ci61ddq
> .....
>
> searchdata=<script>alert('XSS');</script>
>
> 3. In site, stored XSS will be triggered
>
> ------------------------------------------
>
> [Discoverer]
> sanjay singh
>
> ------------------------------------------
>
> [Reference]
> http://phpgurukul.com
> https://phpgurukul.com/e-diary-management-system-using-php-and-mysql/
Use CVE-2022-29004.