Advisory: Solarwinds Web Help Desk Arbitrary HQL Evaluation (CVE-2021-35232)
Summary
There are hard-coded credentials present in SolarWinds Web Help Desk. Through these credentials an attacker could be allowed to execute arbitrary HQL queries against the database.
Impact
This vulnerability allows an attacker to execute Hibernate SQL queries against the database models defined in the source code. As a result, an attacker could read the password hashes of the users registered in Web Help Desk, including administrator password hashes.
In addition to reading sensitive information from the database, other SQL operations such as INSERT/UPDATE/DELETE were also possible, as long as a Hibernate model existed for the database tables, in the code base.
Version Tested Against
<span class="code_single-line">Web Help Desk 12.7.6.8342</span>
Product Description
Solarwinds Web Help Desk lets you manage all end-user trouble tickets and track service request lifecycle, from ticket creation to resolution, from one centralized help desk management web interface.
Web Help Desk simplifies help desk ticketing, IT asset management and end-user support.
Solution
You can read Solarwind’s advisory here.
Vulnerabilities
HTTP request which allows an attacker to run an arbitrary HSQL query:
This will return the following:
Note: the <span class="code_single-line">X-XSRF-TOKEN</span> and <span class="code_single-line">Cookie</span> are not necessary/can be forged to execute this attack without any authentication.
Blog Post
The blog post detailing the steps taken for the discovery of this vulnerability can be found here.
Credits
Assetnote Security Research Team
Timeline
The timeline for this disclosure process can be found below:
- Oct 23rd, 2021: Disclosure of hardcoded credentials and HSQL evaluation vulnerability to Solarwinds PSIRT
- Nov 8th, 2021: Response from Solarwinds confirming receipt of vulnerability
- Nov 25th, 2021: Response from Solarwinds confirming patch release date
- Dec 23rd, 2021: Response from Solarwinds confirming release of Web Help Desk 12.7.7 Hotfix 1
Ready to get started?
Get on a call with our team and learn how Assetnote can change the way you secure your attack surface. We'll set you up with a trial instance so you can see the impact for yourself.