Cyber Security News

SolarWinds Web Help Desk Vulnerability Let Hackers Access Stored Passwords – PoC Released

A critical vulnerability in SolarWinds’ Web Help Desk software (CVE-2024-28989) allowed attackers to decrypt sensitive credentials, including database passwords and LDAP/SMTP authentication secrets, through cryptographic weaknesses in its AES-GCM implementation. 

Patched in version 12.8.5, the flaw stemmed from predictable encryption keys and nonce reuse, enabling practical decryption of stored secrets even without direct system access.

Cryptographic Design Flaws in Web Help Desk

According to  NetSPI’s team, the vulnerability resides on the com.solarwinds.whd.symmetric.AESGCMSymetricCryptoProvider class, which managed AES-GCM encryption for credentials stored in database backups and configuration files. 

Two primary flaws were identified:

Static and Predictable Encryption Keys:

The default AES-GCM key (defaultKey) was hardcoded in cryptconfig.properties within the whd-crypto.jar file. This allowed trivial decryption of secrets marked as {AES}<base64> without requiring further system access. 

For example, the embedded PostgreSQL password in .whd.properties used this key:

A second key derivation mechanism compounded the risk. The SecretKeyServiceImpl class generated keys using init_code values from the database XORed with a static hex value (0xBABEFACE).

With init_code typically ranging below 0x10000, brute-forcing became computationally trivial:

Nonce Reuse and Keystream Recovery

AES-GCM’s security relies on unique nonces per encryption. However, Web Help Desk reused nonces across operations, enabling keystream recovery via known plaintext-ciphertext pairs. 

Attackers could XOR a known credential (e.g., Password1) with its ciphertext to extract the keystream, then decrypt other secrets encrypted under the same nonce:

Exploitation Pathways

Extract Hardcoded Keys: Decompile JAR files to retrieve defaultKey from cryptconfig.properties.
Brute-Force Transformed Keys: Compute init_code ^ 0xBABEFACE for subscriber IDs (≤ 65,535 possibilities).
Decrypt Secrets: Use derived keys to decrypt AES-GCM ciphertexts from backups or .whd.properties.

For example, decrypting frcLMeS3nchpg_Ucxz… with key 19950 revealed Password1, demonstrating how low entropy keys enabled practical attacks.

During a penetration test, NetSPI’s team decrypted an oauth2_client_secret and LDAP query account password. These granted Azure AD access via Connect-AzAccount and lateral movement capabilities within the network.

Mitigations

Upgrade to v12.8.5: SolarWinds patched the key generation logic and enforced proper nonce randomization.
Restrict Backup Access: Limit .zip and .properties file permissions to necessary personnel.
Rotate All Embedded Secrets: Reset database passwords, API keys, and LDAP/SMTP credentials post-upgrade.
Audit AES-GCM Usage: Ensure nonces are unique per encryption (e.g., using counter-based or random nonces with 96-bit entropy).

While patching eliminates immediate risks, organizations must adopt defense-in-depth strategies monitoring for credential leaks, segmenting backup storage, and implementing robust key lifecycle management. 

As attackers increasingly weaponize cryptographic misconfigurations, proactive hardening of encryption practices becomes indispensable.

Are you from SOC/DFIR Teams? – Analyse Malware Incidents & get live Access with ANY.RUN -> Start Now for Free. 

Kaaviya

Kaaviya is a Security Editor and fellow reporter with Cyber Security News. She is covering various cyber security incidents happening in the Cyber Space.

Recent Posts

Hackers Target AI Infrastructure With RCE, Prompt Injection and API Key Theft

Hackers are actively probing AI systems, turning exposed gateways and agent tools into routes for…

4 hours ago

Hackers Make Phishing Pages Change Their Code Every Time Someone Opens Them

Hackers are making some phishing pages harder to track by changing the code delivered to…

4 hours ago

Iran-Linked Hackers Reportedly Knock UK Power Plant Offline for Four Days

A cyber incident reportedly forced a British power plant to halt operations for about four…

5 hours ago

Russian Hackers Use New HOOKEDGE Malware to Spy on European Defense and Diplomatic Targets

Russian hackers have used a new backdoor called HOOKEDGE to target defense manufacturers, government bodies,…

6 hours ago

Ransomware Gang Claims AI Can Analyze 700GB of Stolen Data Every Hour

TITAN ransomware is pairing file encryption with an ambitious claim: artificial intelligence that can sort…

6 hours ago

Hackers Compromise Hundreds of WordPress Sites to Deploy Amatera Stealer via ClickFix

A fake student resume is being used to place a remote-access tool on researchers’ Windows…

7 hours ago