Skip to content
Info disclosure Advisory Beginner CVE-2020-27658

Synology SRM web interface session cookie HttpOnly flag information disclosure vulnerability

The session cookie set by the Synology SRM web interface lacks the HttpOnly flag, so JavaScript can read it. An attacker who can inject script into a page could steal the cookie and, in the worst case, use it to log in to the management interface as administrator.

Claudio Bozzato Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable information disclosure vulnerability exists in the web interface session cookie functionality of Synology SRM 1.2.3 RT2600ac 8017-5. The session cookie misses the HttpOnly flag, making it accessible via JavaScript and thus allowing an attacker to perform an XSS attack and steal the session cookie.

Claudio Bozzato, on Cisco Talos

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

The web server set the session cookie without the HttpOnly attribute.

Impact

An attacker who can inject JavaScript into a page could steal the session cookie and, in the worst case, use it to log in to the management interface as administrator.

What the attacker needed

Attacker can inject JavaScript into a page; victim is logged in to the web interface

How it was found

  1. Send a login POST request to the web interface.
  2. Observe the Set-Cookie response header for the session cookie.
  3. Note that the cookie has no HttpOnly flag.

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.

A cookie is a small piece of data a website stores in your browser to remember who you are. The HttpOnly flag tells the browser to hide that cookie from JavaScript, so if an attacker manages to run their own script on the page, they cannot read it. Here the flag was missing, so any script running on the page could read the session cookie and use it to impersonate the logged-in user.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by Claudio Bozzato

View all

185 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.