|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 107
Members: 0
Total: 107
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Stack trace error - SQL injectable? |
|
Posted: Thu Sep 09, 2010 2:53 am |
|
|
swip3r |
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
"
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(1: 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! |
|
|
|
|
|
|
|
|
Posted: Thu Sep 09, 2010 11:32 am |
|
|
waraxe |
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. |
|
|
|
|
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
|
|
|
|
|
|
Powered by phpBB � 2001-2008 phpBB Group
|
|
|
|
|
|