TencentOS Server 2: perl-File-Find-Rule (TSSA-2025:0710)

high Nessus Plugin ID 258066

Synopsis

The remote TencentOS Server 2 host is missing one or more security updates.

Description

The version of Tencent Linux installed on the remote TencentOS Server 2 host is prior to tested version. It is, therefore, affected by a vulnerability as referenced in the TSSA-2025:0710 advisory.

Package updates are available for TencentOS Server 2 that fix the following vulnerabilities:

CVE-2011-10007:
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)

Tenable has extracted the preceding description block directly from the Tencent Linux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://mirrors.tencent.com/tlinux/errata/tssa-20250710.xml

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-10007

Plugin Details

Severity: High

ID: 258066

File Name: tencentos_TSSA_2025_0710.nasl

Version: 1.1

Type: local

Published: 8/28/2025

Updated: 8/28/2025

Supported Sensors: Nessus

Vulnerability Information

CPE: cpe:/o:tencent:tencentos_server:2, p-cpe:/a:tencent:tencentos_server:perl-file-find-rule

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/etc/os-release, Host/TencentOS/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 6/26/2025

Vulnerability Publication Date: 6/26/2025