Skip to content
XSS Disclosed report Beginner

Multiple Stored XSS on Sanbox.veris.in through Veris Frontdesk Android App

Two input fields in the Veris Frontdesk Android app did not sanitise visitor-supplied text, so HTML with an event handler was stored and later rendered in the web visitor log. An attacker could run script in the browser of staff viewing that log.

itly Follow

Originally disclosed on HackerOne

  • Triaged in 23 hours
  • Fixed in 9 days
  • Disclosed after 3 months

Hello Team,

I have found multiple cross site scripting vulnerabilities on sanbox.veris.in due to the malicious input injected through veris frontdesk android app.

Vulnerable App : Veris Frontdesk Android App

Vulnerable Input Fields: 1) Who do you wish to meet? 2) Additional Information

Payload used: <img src=x onerror=alert(3)> and <img src=x onerror=alert(4)>

Reflects where: https://sandbox.veris.in/portal/visitor-log/

Steps to Reproduce:

  1. Open Veris Front Desk App.
  2. Go to Check In.
  3. Enter the required details like first name, last name and phone number.
  4. Proceed to Next.
  5. Inject the above mentioned payload in vulnerable input fields.
  6. Submit it and Check In.
  7. Login to your account on sandbox.veris.in
  8. Go to https://sandbox.veris.in/portal/visitor-log/
  9. Tadaa! XSS Triggers.

Proof of Concept: Please find the attached screenshots.

Do evaluate it and inform me accordingly.

Best Regards,

Hely H. Shah

Attachments

Stored_XSS_-_Input_Fields.JPG
Stored_XSS_-_Input_Fields.JPG From the original on HackerOne
Stored_XSS_-_Visitor_Logs.JPG
Stored_XSS_-_Visitor_Logs.JPG
Stored_XSS_2_-_Visitor_Logs.JPG
Stored_XSS_2_-_Visitor_Logs.JPG

The original report as published on HackerOne, by itly. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the visitor-log page rendered stored visitor input as HTML without encoding or sanitising it.

Impact

Script supplied by a visitor runs in the browser of anyone viewing the visitor log.

What the attacker needed

Ability to submit a visitor check-in; staff member views the visitor log

How it was found

  1. Open the Veris Front Desk app and start a check-in.
  2. Fill in the required visitor details and continue.
  3. Enter the payload in the 'Who do you wish to meet?' and 'Additional Information' fields.
  4. Submit the check-in.
  5. Log in to the web portal and open the visitor log page.
  6. The script runs when the log is viewed.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The check-in form in a phone app saved whatever a visitor typed, including HTML tags. Later, a staff member opened a web page listing visitors, and the browser ran that saved HTML as code. This is called stored cross-site scripting: the malicious content is saved on the server and runs for anyone who views it.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by itly

View all

16 more disclosed reports, best first.

More from Veris

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.