CVE-2011-2780 in Chyrpinfo

Summary

by MITRE

Directory traversal vulnerability in includes/lib/gz.php in Chyrp 2.0 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the file parameter, a different vulnerability than CVE-2011-2744.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 12/07/2024

The directory traversal vulnerability identified as CVE-2011-2780 affects Chyrp version 2.0 and earlier, specifically within the includes/lib/gz.php component. This flaw represents a critical security weakness that enables remote attackers to access arbitrary files on the affected system through manipulation of the file parameter. The vulnerability exploits the lack of proper input validation and sanitization in the file handling mechanism, allowing malicious users to navigate outside the intended directory structure and retrieve sensitive files from the server.

This vulnerability operates through a classic directory traversal attack pattern where attackers can manipulate the file parameter by injecting .. (dot dot) sequences to move up directory levels. The flaw is distinct from CVE-2011-2744, indicating it represents a separate code path or implementation issue within the Chyrp content management system. The technical implementation appears to fail to properly validate or sanitize user-supplied input before using it in file operations, creating an opportunity for attackers to craft malicious requests that bypass normal file access controls.

The operational impact of this vulnerability is significant as it allows remote code execution capabilities and data exfiltration. Attackers can potentially access configuration files, database credentials, user information, and other sensitive system data that should remain protected. This vulnerability can be exploited without authentication, making it particularly dangerous as it allows unauthorized access to server resources that may contain confidential information or system configurations. The attack vector is straightforward and can be automated, making it a preferred target for malicious actors seeking to compromise affected systems.

The vulnerability aligns with CWE-22, which describes improper limitation of a pathname to a restricted directory, commonly known as path traversal or directory traversal attacks. From an adversarial perspective, this vulnerability maps to ATT&CK technique T1083 (File and Directory Discovery) and T1566 (Phishing with Malicious Attachments) in the enterprise attack framework, as it enables attackers to discover and access files that could contain sensitive information or be used for further exploitation. Organizations should implement immediate mitigations including input validation, proper file access controls, and updating to patched versions of the Chyrp software. The vulnerability demonstrates the critical importance of proper input sanitization and access control mechanisms in web applications to prevent unauthorized file access and system compromise.

Reservation

07/19/2011

Disclosure

07/19/2011

Moderation

accepted

Entry

VDB-57974

CPE

ready

Exploit

Download

EPSS

0.12991

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!