CVE-2011-10007: File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted file name
File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when grep() encounters a crafted filename.
A file handle is opened with the 2 argument form of open() allowing an attacker controlled filename to provide the MODE parameter to open(), turning the filename into a command to be executed.
Example:
$ mkdir /tmp/poc; echo > "/tmp/poc/|id" $ perl -MFile::Find::Rule \ -E 'File::Find::Rule->grep("foo")->in("/tmp/poc")' uid=1000(user) gid=1000(user) groups=1000(user),100(users)
Affected Software
Remediation
Information
Event History
Frequently Asked Questions
What is the severity of CVE-2011-10007?
CVE-2011-10007 is classified as a high severity vulnerability due to its potential for arbitrary code execution.
How do I fix CVE-2011-10007?
To fix CVE-2011-10007, update to File::Find::Rule version 0.35 or later.
What causes CVE-2011-10007?
CVE-2011-10007 is caused by a vulnerability in the way File::Find::Rule handles crafted filenames in Perl.
Who is affected by CVE-2011-10007?
Users of File::Find::Rule up to version 0.34 in Perl are affected by CVE-2011-10007.
Is CVE-2011-10007 exploitable remotely?
CVE-2011-10007 is potentially exploitable remotely if an attacker can control the filenames being processed by the application.