Skip to main content
CVE-2011-10007VulnerabilityPublished

CVE-2011-10007: RCLAMP File::Find::Rule · OS Command Injection

Affects RCLAMP File::Find::RuleSource CVE Database V5

0

Not known to be exploited · CVSS 8.8 High.

Data as of 26 Oct 2026, 06:26 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.8% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 5 Jun 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
RCLAMP File::Find::RuleAffected
  • =0
Fixed in–

AI-suggested

1. Avoid using vulnerable versions of File::Find::Rule (0.34 and earlier). Upgrade to a patched or newer version once available. 2. If upgrading is not immediately possible, modify scripts to avoid using the two-argument form of open() with untrusted input; use the three-argument form of open() to separate the mode from the filename, preventing command injection. 3. Sanitize and validate all filenames before processing, rejecting or escaping special characters that could be interpreted as shell metacharacters. 4. Implement strict access controls and monitoring on directories scanned by File::Find::Rule to prevent introduction of malicious filenames. 5. Use application whitelisting and runtime protection to detect and block unexpected command executions. 6. Employ intrusion detection systems (IDS) and endpoint detection and response (EDR) tools to monitor for suspicious activity related to Perl script execution. 7. Educate developers and system administrators about safe Perl coding practices, especially regarding file handling and command execution. 8. Restrict the execution context of Perl scripts to least privilege to limit the impact of potential exploitation.

Description

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)

References

Community reviews

Loading reviews…