Changes for version 0.06
- -> Fix the code example for the ->grep clause (again from Douglas Wilson)
Modules
Alternative interface to File::Find
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)
To install File::Find::Rule, copy and paste the appropriate command in to your terminal.
cpanm File::Find::Rule
perl -MCPAN -e shell
install File::Find::Rule
For more information on module installation, please visit the detailed CPAN module installation guide.
| Global | |
|---|---|
| s | Focus search bar |
| ? | Bring up this help dialog |
| GitHub | |
|---|---|
| g p | Go to pull requests |
| g i | go to github issues (only if github is preferred repository) |
| POD | |
|---|---|
| g a | Go to author |
| g c | Go to changes |
| g i | Go to issues |
| g d | Go to dist |
| g r | Go to repository/SCM |
| g s | Go to source |
| g b | Go to file browse |
| Search terms | |
|---|---|
| module: (e.g. module:Plugin) | |
| distribution: (e.g. distribution:Dancer auth) | |
| author: (e.g. author:SONGMU Redis) | |
| version: (e.g. version:1.00) |