Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 312-50v12 All Questions

View all questions & answers for the 312-50v12 exam

Exam 312-50v12 topic 1 question 241 discussion

Actual exam question from ECCouncil's 312-50v12
Question #: 241
Topic #: 1
[All 312-50v12 Questions]

During a penetration test, an ethical hacker is exploring the security of a complex web application. The application heavily relies on JavaScript for client-side input sanitization, with an apparent assumption that this alone is adequate to prevent injection attacks. During the investigation, the ethical hacker also notices that the application utilizes cookies to manage user sessions but does not enable the HttpOnly flag. This lack of flag potentially exposes the cookies to client-side scripts. Given these identified vulnerabilities, what would be the most effective strategy for the ethical hacker to exploit this application?

  • A. Instigate a Distributed Denial of Service (DDoS) attack to overload the server, capitalizing on potential weak server-side security.
  • B. Implement an SQL Injection attack to take advantage of potential unvalidated input and gain unauthorized database access.
  • C. Employ a brute-force attack to decipher user credentials, considering the lack of server-side validation.
  • D. Launch a Cross-Site Scripting (XSS) attack, aiming to bypass the client-side sanitization and exploit the exposure of session cookies.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
LordXander
7 months, 3 weeks ago
Selected Answer: D
D - because if there's lack of HttpOnly & validation via JavaScript, this opens the posibility for a XSS to exploit the cookies
upvoted 1 times
...
insaniunt
9 months, 2 weeks ago
Selected Answer: D
D. Launch a Cross-Site Scripting (XSS) attack, aiming to bypass the client-side sanitization and exploit the exposure of session cookies.
upvoted 4 times
...
[Removed]
9 months, 2 weeks ago
Hey friends can we make sure this is correct
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...