CVE-2005-0156
Perl 5.8.0 - Local Buffer Overflow via PERLIO_DEBUG Environment Variable
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2005-0156. PoCs published by Kevin Finisterre.
AI-analyzed exploit summary This exploit targets a buffer overflow in Perl's `PerlIO_Debug()` function in setuid Perl scripts, leveraging a crafted `PERLIO_DEBUG` environment variable and directory traversal to trigger arbitrary code execution. The shellcode executes `/bin/sh` with elevated privileges.
Description
Buffer overflow in the PerlIO implementation in Perl 5.8.0, when installed with setuid support (sperl), allows local users to execute arbitrary code by setting the PERLIO_DEBUG variable and executing a Perl script whose full pathname contains a long directory tree.
Exploits (1)
This exploit targets a buffer overflow in Perl's `PerlIO_Debug()` function in setuid Perl scripts, leveraging a crafted `PERLIO_DEBUG` environment variable and directory traversal to trigger arbitrary code execution. The shellcode executes `/bin/sh` with elevated privileges.