Question 837 of 1,152
Threats, Vulnerabilities, and MitigationshardMultiple ChoiceObjective-mapped

Quick Answer

The correct answer is authentication bypass. This vulnerability is being exploited through parameter manipulation, where the attacker directly alters a URL parameter from `?admin=false` to `?admin=true`, effectively toggling an administrative access control flag. The core technical flaw is that the application blindly trusts client-supplied input to determine authorization status, allowing an unauthenticated user to escalate privileges without valid credentials. On the Security+ SY0-701 exam, this scenario tests your understanding of insecure direct object references and improper access control—a common trap is assuming that hidden or boolean parameters are safe from tampering. Remember that any parameter sent from the client, especially in the URL or POST body, can be modified by an attacker. A useful memory tip: if the server asks the client “are you admin?” and trusts the answer, that’s an authentication bypass waiting to happen.

SY0-701 Threats, Vulnerabilities, and Mitigations Practice Question

This SY0-701 practice question tests your understanding of threats, vulnerabilities, and mitigations. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

Exhibit

Reverse proxy config excerpt:
proxy_set_header X-Original-URL $request_uri;
proxy_set_header X-Forwarded-User $remote_user;

Access log:
GET /app/report HTTP/1.1 200
X-Original-URL: /admin/export
X-Forwarded-User: jlee

Backend log:
09:41:11 GET /admin/export user=jlee role=analyst response=200
09:41:13 POST /admin/export user=jlee role=analyst response=200

Based on the exhibit, which vulnerability is being exploited?

Question 1hardmultiple choice
Full question →

Exhibit

Reverse proxy config excerpt:
proxy_set_header X-Original-URL $request_uri;
proxy_set_header X-Forwarded-User $remote_user;

Access log:
GET /app/report HTTP/1.1 200
X-Original-URL: /admin/export
X-Forwarded-User: jlee

Backend log:
09:41:11 GET /admin/export user=jlee role=analyst response=200
09:41:13 POST /admin/export user=jlee role=analyst response=200

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Authentication bypass

The exhibit shows a URL parameter `?admin=false` being changed to `?admin=true`, which directly toggles an administrative access control flag. This is a classic authentication bypass vulnerability because the application trusts client-supplied input to determine authorization status, allowing an attacker to escalate privileges without valid credentials.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Cross-site scripting (XSS)

    Why it's wrong here

    XSS requires script injection into content rendered by another user’s browser, which is not shown here.

  • Cross-site request forgery (CSRF)

    Why it's wrong here

    CSRF abuses a victim’s browser to send unintended authenticated requests, usually without changing trusted proxy headers.

  • Authentication bypass

    Why this is correct

    The backend is trusting client-influenced headers and a forwarded path value to reach an administrative endpoint. The logs show a normal analyst account reaching /admin/export after supplying X-Original-URL, which indicates the application or proxy is failing to enforce access controls consistently. That is an authentication or authorization bypass caused by trusting data the client can manipulate.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Command injection

    Why it's wrong here

    Command injection would involve hostile shell metacharacters or system command execution, which the logs do not show.

Common exam traps

Common exam trap: answer the scenario, not the keyword

The trap here is that candidates confuse parameter manipulation for privilege escalation with CSRF, but CSRF requires an authenticated victim to unknowingly submit a request, whereas this attack directly alters the authorization flag without needing another user's session.

Trap categories for this question

  • Command / output trap

    XSS requires script injection into content rendered by another user’s browser, which is not shown here.

Detailed technical explanation

How to think about this question

Under the hood, this vulnerability occurs when the server-side code uses a GET or POST parameter (e.g., `$_GET['admin']` in PHP) to set a session variable like `$_SESSION['isAdmin']` without validating the user's actual credentials. In real-world scenarios, this is often found in legacy applications or poorly designed REST APIs where authorization checks are missing, and the parameter is blindly trusted. A subtle behavior is that even if the parameter is hidden in a form or not displayed, an attacker can still manipulate it via browser developer tools or a proxy.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A security team runs a vulnerability scan on a web application and discovers an unpatched SQL injection flaw. The team prioritises remediation by CVSS score — critical flaws are patched within 24 hours, high within 7 days. Questions like this test whether you understand vulnerability management processes, scanning tools, and remediation prioritisation.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related SY0-701 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free SY0-701 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this SY0-701 question test?

Threats, Vulnerabilities, and Mitigations — This question tests Threats, Vulnerabilities, and Mitigations — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Authentication bypass — The exhibit shows a URL parameter `?admin=false` being changed to `?admin=true`, which directly toggles an administrative access control flag. This is a classic authentication bypass vulnerability because the application trusts client-supplied input to determine authorization status, allowing an attacker to escalate privileges without valid credentials.

What should I do if I get this SY0-701 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Keep practising

More SY0-701 practice questions

Last reviewed: Jun 11, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This SY0-701 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the SY0-701 exam.