FreeBSD : phpLDAPadmin -- Remote PHP code injection vulnerability (edf47177-fe3f-11e0-a207-0014a5e3cda6)

This script is Copyright (C) 2011-2013 Tenable Network Security, Inc.


Synopsis :

The remote FreeBSD host is missing a security-related update.

Description :

EgiX (n0b0d13s at gmail dot com) reports :

The $sortby parameter passed to 'masort' function in file
lib/functions.php isn't properly sanitized before being used in a call
to create_function() at line 1080. This can be exploited to inject and
execute arbitrary PHP code. The only possible attack vector is when
handling the 'query_engine' command, in which input passed through
$_REQUEST['orderby'] is passed as $sortby parameter to 'masort'
function.

See also :

http://packetstormsecurity.org/files/106120/phpldapadmin-inject.txt
http://www.nessus.org/u?3720b14a
http://www.nessus.org/u?1e4ecaee

Solution :

Update the affected package.

Risk factor :

High

Family: FreeBSD Local Security Checks

Nessus Plugin ID: 56588 ()

Bugtraq ID:

CVE ID:

Ready to Amp Up Your Nessus Experience?

Get Nessus Professional to scan unlimited IPs, run compliance checks & more

Buy Nessus Professional Now