Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix xss in Summary Report #9

Closed
wants to merge 2 commits into from
Closed

Fix xss in Summary Report #9

wants to merge 2 commits into from

Conversation

kubolos231
Copy link

✍️ Description

A cross-site scripting (XSS) allows remote attackers to inject JavaScript via the "p0-end" Parameter
🕵️‍♂️ Proof of Concept

You can find installation instructions here: https://bigprof.com/appgini/applications/online-invoicing-system

Vulnerable Parameter: p0-end ( p1-end & p2-end end)

XSS Payload: 26/03/2021'"()%26%25<yes><ScRiPt%20>alert(2)</ScRiPt>

Once its installed sucessfully, Visit below POC link to trigger XSS:

https://localhost/app/hooks/summary-reports-invoices-0.php?apply=1&comparison-period-1=1&comparison-period-2=1&order-by=label&p0-end=26/03/2021'"()%26%25<yes><ScRiPt%20>alert(2)</ScRiPt>&p0-start=01/03/2021&p1-end=26/02/2021&p1-start=01/02/2021&p2-end=26/03/2020&p2-start=01/03/2020&radio-label-align=text-right&radio-value-align=text-left&sorting-order=desc

https://user-images.githubusercontent.com/69595454/112627982-fd121480-8e3a-11eb-8f6d-a9cf8250d83d.png
💥 Impact

With the help of xss attacker can perform social engineering on users by redirecting them from real website to fake one. Attacker can steal their cookies leading to account takeover and download a malware on their system, and there are many more attacking scenarios a skilled attacker can perform with xss.

@kubolos231 kubolos231 closed this Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant