🔥 40% Off Crucial Exams Memberships — Deal ends today!

44 minutes, 59 seconds remaining!

Certified Ethical Hacker (CEH) Practice Question

While assessing a custom PHP e-commerce application you observe that the server issues a PHPSESSID cookie on the first page load and keeps the exact same value after users successfully log in. HTTPS is not enforced, but you cannot sniff the network or inject scripts. Which application-level session-hijacking technique could you exploit to gain control of a victim's authenticated session?

  • Inject a reflected XSS payload to read the PHPSESSID cookie after login.

  • Leverage session fixation by pre-setting the PHPSESSID value the victim will use to authenticate.

  • Conduct a clickjacking attack to trick the user into clicking hidden elements.

  • Launch a cross-site request forgery attack to perform actions on behalf of the user.

Certified Ethical Hacker (CEH)
Network and Perimeter Hacking
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot