Files
vulhub/openssl/CVE-2014-0160/README.md
Aaron 63285f61aa
Some checks failed
Vulhub Format Check and Lint / format-check (push) Has been cancelled
Vulhub Format Check and Lint / markdown-check (push) Has been cancelled
Vulhub Docker Image CI / longtime-images-test (push) Has been cancelled
Vulhub Docker Image CI / images-test (push) Has been cancelled
first commit
2025-09-06 16:08:15 +08:00

35 lines
1.6 KiB
Markdown

# OpenSSL Heartbleed Memory Leak Leads to Information Disclosure (CVE-2014-0160)
[中文版本(Chinese version)](README.zh-cn.md)
The Heartbleed Bug is a serious vulnerability in the popular OpenSSL cryptographic software library. This weakness allows stealing the information protected, under normal conditions, by the SSL/TLS encryption used to secure the Internet. SSL/TLS provides communication security and privacy over the Internet for applications such as web, email, instant messaging (IM) and some virtual private networks (VPNs).
The Heartbleed bug allows anyone on the Internet to read the memory of the systems protected by the vulnerable versions of the OpenSSL software. This compromises the secret keys used to identify the service providers and to encrypt the traffic, the names and passwords of the users and the actual content. This allows attackers to eavesdrop on communications, steal data directly from the services and users and to impersonate services and users.
References:
- https://heartbleed.com/
- https://filippo.io/Heartbleed
## Setup
Execute following command to start a Nginx server with OpenSSL 1.0.1c:
```
docker compose up -d
```
After the server is started, browse the `https://your-ip:8443` to see the welcome page.
> We have encountered an error when running this environment where some AMD architecture CPUs were unable to access the https page successfully. If you have a similar problem, try an Intel CPU instead.
## POC
Visit `https://filippo.io/Heartbleed` to check the result:
![](1.png)
Run [ssltest.py](ssltest.py) with Python to obtain sensitive data (such as Cookie):
![](2.png)