Silverpeas App: Multiple CVEs leading to File Read on Server
A stored cross-site scripting vulnerability in the messaging feature allowed an attacker to send a message to administrators that executed JavaScript when viewed, enabling privilege escalation to full administrative access. With administrative rights, the attacker could configure the Silvercrawler feature to read arbitrary files on the server.
Published on rhinosecuritylabs.com
During research on the Silverpeas Core application, the Rhino research team identified 8 new CVEs over the course of 2 weeks. The most severe of these is CVE-2023-47324, a Stored Cross-Site Scripting (XSS) vulnerability affecting the messaging application.
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 write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker could escalate their privileges to administrator and then read arbitrary files on the server, potentially accessing credentials and configuration files.
What the attacker needed
A user account on Silverpeas; victim (administrator) views the message; Silvercrawler feature available to admins
The fix
The vulnerabilities were fixed in Silverpeas version 6.3.2.
How it was found
- Log in and use the 'Write to administrators' option to send a message.
- Include JavaScript in the message content that submits a form to modify the attacker's user account, setting the access level to ADMINISTRATOR.
- Wait for an administrator to view the message, which executes the JavaScript and elevates the attacker's privileges.
- As an administrator, enable the Silvercrawler feature and set the root directory to '/'.
- Navigate to the configured path to access and read files on the server's file system.
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 write-up has not been written yet. The Original tab links to the source.
This report describes a stored cross-site scripting (XSS) flaw: an attacker can send a message containing malicious code that runs in the administrator's browser when they open it. Because the code runs as the administrator, it can perform actions on their behalf, like changing the attacker's account to an administrator. Once an administrator, the attacker can use a file-hosting feature to read sensitive files on the server.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.