CVE-2008-3657
Ruby < 1.8.5 and 1.8.6-1.8.6-p286 and 1.8.7-1.8.7-p71 and 1.9-r18423 - Safe Level Bypass via DL.dlopen
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2008-3657. PoCs published by Keita Yamaguchi.
AI-analyzed exploit summary This exploit leverages a flaw in Ruby's 'dl' library to bypass safe level restrictions and execute arbitrary commands. It demonstrates a security-bypass vulnerability by calling the 'system' function despite $SAFE being set to 1.
Description
The dl module in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 does not check "taintness" of inputs, which allows context-dependent attackers to bypass safe levels and execute dangerous functions by accessing a library using DL.dlopen.
Exploits (1)
This exploit leverages a flaw in Ruby's 'dl' library to bypass safe level restrictions and execute arbitrary commands. It demonstrates a security-bypass vulnerability by calling the 'system' function despite $SAFE being set to 1.