Socomec DIRIS Digiware M-70 WEBVIEW-M cross-site request forgery (CSRF) vulnerability
The WEBVIEW-M webserver on the Socomec DIRIS Digiware M-70 gateway processes requests that arrive without a session cookie as if they were authorised, even though the cookie is marked SameSite Strict. An attacker who lures a logged-in user to a malicious page can therefore submit a forged request that changes the Admin password, giving the attacker Admin privileges.
Originally disclosed on Cisco Talos
A cross-site request forgery (csrf) vulnerability exists in the WEBVIEW-M functionality of Socomec DIRIS Digiware M-70 1.6.9. A specially crafted HTTP request can lead to unauthorized access.
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 server treats a request that carries no session cookie as an authenticated request, so the SameSite Strict cookie protection is bypassed.
Impact
An attacker could change the Admin password and gain Admin privileges on the gateway, though the attack requires the victim to be logged in and to visit the malicious page.
What the attacker needed
Victim logged in to WEBVIEW-M; victim visits attacker's page; attacker knows gateway address
The fix
The vendor released a patch, so the server should be updated to the fixed version.
How it was found
- The victim logs in to WEBVIEW-M as the Cyber Security user.
- The victim visits a malicious web page in the same browser.
- The page automatically submits a form to the gateway's account modification endpoint.
- The server processes the request despite the missing session cookie and changes the Admin password.
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.
Websites often rely on a cookie, a small piece of data the browser stores after you log in, to know who you are. Browsers can be told not to send that cookie when a request comes from another site, which normally stops a trick called cross-site request forgery, where a malicious page makes your browser send a request you did not intend. Here the server ignored that protection and treated a request with no cookie at all as a logged-in user, so a malicious page could change the admin password.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.