Horde-Chora: Remote code execution — GLSA 200406-09

A vulnerability in Chora allows remote code execution and file upload.

Affected packages

www-apps/horde-chora on all architectures
Affected versions < 1.2.2
Unaffected versions >= 1.2.2

Background

Chora is a PHP-based SVN/CVS repository viewer by the HORDE project.

Description

A vulnerability in the diff viewer of Chora allows an attacker to inject shellcode. An attacker can exploit PHP's file upload functionality to upload a malicious binary to a vulnerable server, chmod it as executable, and run the file.

Impact

An attacker could remotely execute arbitrary binaries with the permissions of the PHP script, conceivably allowing further exploitation of local vulnerabilities and remote root access.

Workaround

There is no known workaround at this time.

Resolution

All users are advised to upgrade to the latest version of Chora:

 # emerge sync

 # emerge -pv ">=www-apps/horde-chora-1.2.2"
 # emerge ">=www-apps/horde-chora-1.2.2"

References

Release date
June 15, 2004

Latest revision
December 30, 2007: 02

Severity
high

Exploitable
remote

Bugzilla entries