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

2 hours, 58 minutes remaining!

Certified Ethical Hacker (CEH) Practice Question

During a black-box engagement you identify a publicly accessible GitLab endpoint at /api/v4/projects/42/trigger/pipeline. Examining the project's repository, you notice that a pipeline trigger token has been accidentally hard-coded in a .gitlab-ci.yml include file. Supplying this leaked value in the X-Gitlab-Token header lets you invoke the endpoint and define arbitrary CI jobs. Which high-impact attack becomes feasible against the organization's infrastructure if one of their shared runners is misconfigured in privileged mode?

  • Force an open redirect to harvest developer credentials during the GitLab login flow.

  • Exploit blind SQL injection in the token parameter to exfiltrate the GitLab database.

  • Perform directory traversal through the endpoint to read files such as /etc/passwd.

  • Launch an unauthorized pipeline that executes arbitrary shell commands, achieving remote code execution on the CI runner.

Certified Ethical Hacker (CEH)
Web Application 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