Reply
SQL XPath Injection
Old 01-29-2008, 07:14 PM SQL XPath Injection
Learning Newbie's Avatar
Moderator

Posts: 4,585
Name: John Alexander
This is something I always knew, but I was looking up how the handle to the XML is managed in Windows and also if it's a special version of MSXML used. Looking this stuff up I found a stern warning

Quote:
OpenXML allows the row and column XPath patterns to be parameterized as variables. Such parameterization could lead to XPath expression injections, if the programmer exposes the parameterization to outside users (for example, if the parameters are provided via an externally called stored procedure). To avoid such potential security issues, it is recommended that XPath parameters should never be exposed to external callers.
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/udb9/html/060126fc-ed0f-478f-830a-08e418d410dc.htm

Figured I'd share that with people in the friendly database forum. That's for Microsoft's SQL Server of course but the concept applies across the board. Oracle might even need more care because it's more powerful with XML.
__________________
4 ways to improve the lives of the "bottom billion"

"HEY YOU KIDS GET OFF MY LAWN!" -John McCain
Learning Newbie is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Reply     « Reply to SQL XPath Injection
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.11375 seconds with 13 queries