Some vulnerabilities have been discovered in FlexPHPDirectory, which can be exploited by malicious people to conduct SQL injection attacks and compromise a vulnerable system.
1) Input passed to the "checkuser" and "checkpass" parameters in admin/index.php is not properly sanitised before being used in SQL queries in admin/usercheck.php. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation may require that "magic_quotes_gpc" is disabled.
2) A vulnerability is caused due to the "Submit a listing" feature failing to validate the types of uploaded images. This can be exploited to upload files with arbitrary extensions (e.g. php) and execute arbitrary PHP code on the server.
The vulnerabilities are confirmed in version 0.0.1. Other versions may also be affected.
Solution: Edit the source code to ensure that input is properly sanitised and verified.
Provided and/or discovered by: x0r
Original Advisory: http://milw0rm.com/exploits/7614
Do you have additional information related to this advisory?
Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this
information to email@example.com