FreeBSD : phpLDAPadmin -- Remote PHP code injection vulnerability (edf47177-fe3f-11e0-a207-0014a5e3cda6)
High Nessus Plugin ID 56588
SynopsisThe remote FreeBSD host is missing a security-related update.
DescriptionEgiX (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.
SolutionUpdate the affected package.