Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ISC2 Exam SSCP Topic 11 Question 85 Discussion

Actual exam question for ISC2's Systems Security Certified Practitioner exam
Question #: 85
Topic #: 11
[All Systems Security Certified Practitioner Questions]

Which of the following technologies is a target of XSS or CSS (Cross-Site Scripting) attacks?

Show Suggested Answer Hide Answer
Suggested Answer: A

XSS or Cross-Site Scripting is a threat to web applications where malicious code is placed on a website that attacks the use using their existing authenticated session status.

Cross-Site Scripting attacks are a type of injection problem, in which malicious scripts are injected into the otherwise benign and trusted web sites. Cross-site scripting (XSS) attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user in the output it generates without validating or encoding it.

An attacker can use XSS to send a malicious script to an unsuspecting user. The end user's browser has no way to know that the script should not be trusted, and will execute the script. Because it thinks the script came from a trusted source, the malicious script can access any cookies, session tokens, or other sensitive information retained by your browser and used with that site. These scripts can even rewrite the content of the HTML page.

Mitigation:

Configure your IPS - Intrusion Prevention System to detect and suppress this traffic.

Input Validation on the web application to normalize inputted data.

Set web apps to bind session cookies to the IP Address of the legitimate user and only permit that IP Address to use that cookie.

See the XSS (Cross Site Scripting) Prevention Cheat Sheet

See the Abridged XSS Prevention Cheat Sheet

See the DOM based XSS Prevention Cheat Sheet

See the OWASP Development Guide article on Phishing.

See the OWASP Development Guide article on Data Validation.

The following answers are incorrect:

Intrusion Detection Systems: Sorry. IDS Systems aren't usually the target of XSS attacks but a properly-configured IDS/IPS can 'detect and report on malicious string and suppress the TCP connection in an attempt to mitigate the threat.

Firewalls: Sorry. Firewalls aren't usually the target of XSS attacks.

DNS Servers: Same as above, DNS Servers aren't usually targeted in XSS attacks but they play a key role in the domain name resolution in the XSS attack process.

The following reference(s) was used to create this question:

CCCure Holistic Security+ CBT and Curriculum

and

https://www.owasp.org/index.php/Cross-site_Scripting_%28XSS%29


Comments

Brandon
16 hours ago
Okay, okay, let's not forget about those crafty hackers targeting DNS servers. I mean, if they can hijack the DNS, they could potentially pull off some nasty XSS attacks, don't you think?
upvoted 0 times
...
Chantell
2 days ago
Hmm, good point. But I think firewalls are more concerned with network-level attacks, not application-level ones like XSS. I'd say C) Firewalls is a bit of a stretch here.
upvoted 0 times
...
Thurman
3 days ago
Well, I'm not so sure. What about those pesky firewalls? Couldn't they also be vulnerable to XSS if they have a web-based management interface?
upvoted 0 times
...
Kristofer
5 days ago
Absolutely! Web applications are the prime target for Cross-Site Scripting attacks. I remember reading that XSS exploits the trust a user has in a website to execute malicious scripts on the client-side.
upvoted 0 times
...
Tamera
7 days ago
Ah, the classic 'which technology is vulnerable to XSS attacks' question. I'm feeling pretty confident about this one. It's got to be A) Web Applications, right?
upvoted 0 times
...

Save Cancel