Waraxe IT Security Portal  
  Login or Register
::  Home  ::  Search  ::  Your Account  ::  Forums  ::   Waraxe Advisories  ::  Tools  ::
January 26, 2021
Menu
 Home
 Logout
 Discussions
 Forums
 Members List
 IRC chat
 Tools
 Base64 coder
 MD5 hash
 CRC32 checksum
 ROT13 coder
 SHA-1 hash
 URL-decoder
 Sql Char Encoder
 Affiliates
 y3dips ITsec
 Md5 Cracker
 User Manuals
 AlbumNow
 Content
 Content
 Sections
 FAQ
 Top
 Info
 Feedback
 Recommend Us
 Search
 Journal
 Your Account



User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9145

People Online:
Visitors: 321
Members: 0
Total: 321
PacketStorm News
Currently there is a problem with headlines from this site
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Sql injection -> Stack trace error - SQL injectable?
Post new topic  Reply to topic View previous topic :: View next topic 
Stack trace error - SQL injectable?
PostPosted: Thu Sep 09, 2010 2:53 am Reply with quote
swip3r
Beginner
Beginner
 
Joined: Sep 09, 2010
Posts: 1




Recently I was doing an audit into my websites security after trying a combination of exploits ... after inserting an ' after one particular php page I was greeted with the following... which left me quite worried as it is not every day a professionally developed site should show such errors, before I raise this with the sites admin I thought id get some hackers advice Smile

"
need error page...

exception 'BoomSQLException' with message 'mis-formatted SQL string: My Progress\'' in /var/www/boom/current/persistence/BoomDB.php:977
Stack trace:
#0 /var/www/boom/current/persistence/BoomDB.php(897): BoomDB->buildQuery(Array, false, false)
#1 /var/www/boom/current/persistence/BoomDB.php(479): BoomDB->parseStmt('SELECT * From n...', Array)
#2 /var/www/common/current/HTML/WrapperNavigation.php(150): BoomDB->selectStmt('wrapper navigat...', 'SELECT * From n...', Array)
#3 /var/www/common/current/HTML/WrapperManager.php(933): WrapperNavigation->getFourthNavigation('My Progress\'')
#4 /var/www/common/current/HTML/WrapperManager.php(655): WrapperManager->addFourthNavItems()
#5 /var/www/XXXXXXX/current/application/my/models/WrapperHelper.php(204): WrapperManager->setCurrentThirdNavItem('My Progress\'')
#6 /var/www/XXXXXXX/current/application/my/models/WrapperHelper.php(24): WrapperHelper->HandleWrapperManager('dashboard', Object(BSPage), '960X', 'condimer')
#7 /var/www/XXXXXXX/current/application/my/controllers/IndexController.php(1Cool: WrapperHelper->__construct('dashboard', Object(BSPage), '960X', 'condimer')
#8 /var/www/XXXXXXX/current/application/my/controllers/IndexController.php(76): IndexController->_addShared(Object(BSPage))
#9 /var/www/contrib/current/zend/ZendFramework/library/Zend/Controller/Action.php(502): IndexController->indexAction()
#10 /var/www/contrib/current/zend/ZendFramework/library/Zend/Controller/Dispatcher/Standard.php(293): Zend_Controller_Action->dispatch('indexAction')
#11 /var/www/contrib/current/zend/ZendFramework/library/Zend/Controller/Front.php(946): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#12 /var/www/XXXXXXX/current/application/bootstrap.php(103): Zend_Controller_Front->dispatch()
#13 /var/www/my/current/index.php(21): include('/var/www/XXXXXX...')
#14 {main}
"


Does anyone know if this is a worry or exploitable? if so, any exploits I can test on it - Successful attempts will receive a free gift from my site along with credit to their finding.

Web Server: Apache
Powered-by: PHP/5.2.6-1+lenny8



Thanks!
View user's profile Send private message
PostPosted: Thu Sep 09, 2010 11:32 am Reply with quote
waraxe
Site admin
Site admin
 
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




It's hard to assess such potential security issue without more information.

Code:

mis-formatted SQL string: My Progress\'


^--- It seems that single quote is properly escaped.

You need to do some real-time debugging and see what part of code generates this exception and why.
View user's profile Send private message Send e-mail Visit poster's website
Stack trace error - SQL injectable?
  www.waraxe.us Forum Index -> Sql injection
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  




Powered by phpBB 2001-2008 phpBB Group






Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2020 Janek Vind "waraxe"
Page Generation: 0.079 Seconds