Description: adex and undefined1_ have discovered some vulnerabilities in MAXdev MD-Pro, which can be exploited by malicious people to conduct SQL injection attacks.
1) Input passed to the "startrow" parameter in index.php when "module" is set to "News" is not properly sanitised before being used in SQL queries. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
2) Input passed via the "Referer" HTTP header in referer.php is not properly sanitised before being used in a SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
Successful exploitation of vulnerability #2 requires that "magic_quotes_runtime" is disabled.
The vulnerabilities are confirmed in version 1.0.76. Other versions may also be affected.
Solution: Update to version 1.0.82.
Provided and/or discovered by: adex and undefined1_
If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.
Ideas, suggestions, and other feedback are most welcome.