Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 49 guests online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Web Applications
XSS Filter Died?
EH-Net
May 21, 2013, 06:56:26 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Web Applications
(Moderator:
don
) >
XSS Filter Died?
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: XSS Filter Died? (Read 2361 times)
0 Members and 1 Guest are viewing this topic.
unicityd
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
XSS Filter Died?
«
on:
January 14, 2012, 12:38:16 AM »
I'm trying to figure out what happened to a web app I was testing today. I was blackbox testing the forum/discussion feature for an online learning app (written in Java) that allows users to post HTML, but has an XSS filter to block known bad HTML tags. I've found some ways to bypass this particular filter before and was testing some new things today. When I input something it doesn't like, I would get an error message like: "Forbidden Content: <evil>Boo</evil>"
Here's the strange part: at some point in my testing, it stopped blocking anything at all. All of the things that it used to flag as "forbidden content" were allowed through. I could use any tag I wanted including the obvious <script>. What would cause this?
One guess is that that the routine is throwing an exception and that the exception is handled by simply returning as if everything is okay, but I don't know why it would do that every time. Would there be a reason for it to maintain state? If it does, I could see it getting so screwed up that it can't run without throwing an exception.
Is there something else it could be doing? I don't have source code to check this and I've never run into a similar error while coding.
Thanks,
Unicityd
Logged
BS in IT, CISSP, MS in IS Management (in progress)
cd1zz
Hero Member
Offline
Posts: 561
Re: XSS Filter Died?
«
Reply #1 on:
January 14, 2012, 01:21:36 AM »
Sounds like you were whitelisted, mid-test....was that not in the original project specs? You sure the sales guy didn't add it after the PT began?!
Logged
OSCE | OSCP | GXPN | OSWP | CISSP
http://www.pwnag3.com
http://www.networkadminsecrets.com
unicityd
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
Re: XSS Filter Died?
«
Reply #2 on:
January 14, 2012, 03:07:51 AM »
It wasn't part of a pen-test, just some independent research. I'm the application admin for the system which is hosted by the vendor. As far as I know, there isn't a way to turn the filter off (on purpose).
It's a production system, but school is out right now so I'm pretty much the only persson on. I've always felt comfortable playing with XSS using a test course where there aren't any real users that I can harm. The side effects I saw today surprised me.
Logged
BS in IT, CISSP, MS in IS Management (in progress)
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: XSS Filter Died?
«
Reply #3 on:
January 14, 2012, 01:31:36 PM »
Sounds like Java mischief to me hehe
Somehow you either got whitelisted, or disabled the "Anti-XSS Firewall" or whatever happened. You will only be able to know if you debug the application and reproduce your steps, on another IP with fresh (new) cookies too of course.
Logged
I'm an InterN0T'er
unicityd
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
Re: XSS Filter Died?
«
Reply #4 on:
January 14, 2012, 03:02:49 PM »
Quote
You will only be able to know if you debug the application
I think I'm out of luck since I don't have the ability to debug this app. I do know that it's a global issue since the problem persists on other accounts/machines. I really wish I had source code so I could see what the hell they are doing.
Logged
BS in IT, CISSP, MS in IS Management (in progress)
MaXe
Hero Member
Offline
Posts: 669
I've just upgraded myself to a cyborg muahahaa!!1
Re: XSS Filter Died?
«
Reply #5 on:
January 14, 2012, 05:08:55 PM »
It would indeed be interesting to see how on earth such a scenario could be possible, as even I haven't seen it elsewhere. I've seen the opposite, that after like 100 attempts you get blacklisted for a while or permanently, but getting whitelisted out of nowhere allowing all script execution vectors, now that's rare but fun to hear about hehe
Logged
I'm an InterN0T'er
unicityd
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
Re: XSS Filter Died?
«
Reply #6 on:
January 15, 2012, 03:41:19 PM »
I screwed up
I was using multiple test accounts and I mixed up and made one of the accounts a professor instead of a student.
So, the XSS filter functions although I can still bypass it using certain tags.
I would like to know why it blew away a discussion category though; definitely some data corruption at play there.
Logged
BS in IT, CISSP, MS in IS Management (in progress)
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
GAWN - GIAC Assessing Wireless Networks
: Karen Millen Dresses Things did improve as the decade gone on
(0) by
dtree70fx
General Certification
: CPT Practical Submission
(1) by
UNIX
OSCP - Offensive Security Certified Professional
: Failed my first attempt at the OSCP exam
(94) by
azmatt
Programming
: Finished Python Course in Codecademy now what?
(11) by
securitian
Tools
: Social-Engineer Toolkit (SET) Version 5.0 “The Wild West” Released
(2) by
m0wgli
Malware
: EICAR?
(3) by
UKSecurityGuy
Advisories
: HTB23154: Multiple Vulnerabilities in Exponent CMS
(0) by
AndyP
Advisories
: HTB23153: Multiple Vulnerabilities in Jojo CMS
(0) by
AndyP
Advisories
: HTB23151: Cross-Site Request Forgery (CSRF) in UMI.CMS
(0) by
AndyP
Tutorials
: Need guidance
(8) by
r0ckm4n
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(7) by
Taemyks
OSCP - Offensive Security Certified Professional
: OSCP exam scheduled
(6) by
gbhat
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
Web Applications
: Nessus and Nikto
(4) by
Seen
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.