* Subrion CMS 2.2.1 and probably prior
1) SQL Injection in Subrion CMS: CVE-2012-4772
Input passed via the "plan_id" POST parameter to /register/ URL (modified by mod_rewrite to /system.php script) is not properly sanitised before being used in SQL query. This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.
The following PoC (Proof of Concept) demonstrates the vulnerability:
Depending on web and SQL servers configuration, the above-mentioned PoC code creates a simple PHP shell on the vulnerable system.
2) Cross-Site Scripting (XSS) in Subrion CMS: CVE-2012-4771
2.1 Input passed via the "f[accounts][fullname]" and "f[accounts][username]" GET parameters to /advsearch/ UR (modified by mod_rewrite to /system.php script) is not properly sanitised before being returned to the user.
can be exploited to execute arbitrary HTML and script code in user's browser session in context of an affected website.
2.2 Input passed via the "id" and "group" GET parameters to multiple files is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in administrator's browser session in context of an affected website.
The following PoCs demonstrate the vulnerabilities:
3) Cross-Site Request Forgery (CSRF) in Subrion CMS: CVE-2012-4773
The application allows authorized administrator to perform certain actions via HTTP requests without making proper validity checks to verify the source of the requests. This can be exploited to add, delete or modify sensitive information, for example to create new administrator or execute arbitrary SQL code.
An attacker should make logged-in administrator open a malicious link in the browser to exploit this vulnerability.
The following PoC creates administrative account within application: