WWBN AVideo cookie information disclosure vulnerability
The AVideo application sets its session cookie and a 'pass' cookie without the HttpOnly flag, and the session cookie also lacks the Secure flag. An attacker who can run JavaScript on the site (e.g., via XSS) could read these cookies, and the 'pass' cookie contains a password hash that can be used directly to log in, potentially as an administrator.
Originally disclosed on Cisco Talos
An information disclosure vulnerability exists in the cookie functionality of WWBN AVideo 11.6 and dev master commit 3f7c0364. The session cookie and the pass cookie miss the HttpOnly flag, making them accessible via JavaScript.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
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 application failed to set the HttpOnly and Secure flags when creating the session cookie and explicitly set HttpOnly to false for the 'pass' cookie.
Impact
An attacker could steal the session cookie via JavaScript (e.g., through XSS) or over non-HTTPS connections, and could also steal the 'pass' cookie which contains a password hash that can be used directly to log in, potentially as an administrator.
What the attacker needed
Ability to run JavaScript on the site (e.g., via XSS); or ability to intercept non-HTTPS traffic
The fix
The vendor confirms the issues were fixed on July 7th 2022.
How it was found
- Send a request to the /user endpoint and observe the Set-Cookie header for the session cookie.
- Note that the session cookie lacks the Secure and HttpOnly flags.
- Send a login request to /objects/login.json.php and observe the Set-Cookie header for the 'pass' cookie.
- Note that the 'pass' cookie lacks the HttpOnly flag (though it has Secure).
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.
Cookies are small pieces of data that websites store in your browser to remember who you are. The HttpOnly flag stops JavaScript from reading a cookie, and the Secure flag stops it being sent over unencrypted connections. Here, two important cookies were missing these protections, so if an attacker could run their own JavaScript on the page, they could steal the cookies and use them to log in as the victim.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.