exam questions

Exam SY0-601 All Questions

View all questions & answers for the SY0-601 exam

Exam SY0-601 topic 1 question 5 discussion

Actual exam question from CompTIA's SY0-601
Question #: 5
Topic #: 1
[All SY0-601 Questions]

A security analyst is reviewing application logs to determine the source of a breach and locates the following log: https://www.comptia.com/login.php?id='%20or%20'1'1='1
Which of the following has been observed?

  • A. DLL Injection
  • B. API attack
  • C. SQLi
  • D. XSS
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Joe1984
Highly Voted 2 years, 11 months ago
Selected Answer: C
1=1 is true. SQL injection
upvoted 22 times
...
Proctored_Expert
Highly Voted 10 months, 2 weeks ago
Selected Answer: C
SQLi (SQL injection) has been observed. SQL injection is a type of cyber attack that involves injecting malicious code into a database through a vulnerable web application. The malicious code is typically designed to manipulate or extract data from the database, allowing the attacker to gain unauthorized access to sensitive information. The log provided in the question appears to be a URL for a login page, with a string of text appended to the end. This string includes the text "or '1'1='1", which is a common syntax used in SQL injection attacks. This indicates that an SQL injection attack may have been attempted or successfully carried out against the website.
upvoted 19 times
...
LayinCable
Most Recent 1 year, 1 month ago
Selected Answer: C
1=1 ALWAYS equals an SQL injection.
upvoted 1 times
...
russian
1 year, 3 months ago
Selected Answer: C
1=1 is always SQLi
upvoted 1 times
...
Awesomeness
1 year, 6 months ago
Selected Answer: C
The '1='1 is a clear indication of SQLi which is the short form of SQL Injection
upvoted 3 times
...
DirtyDann
1 year, 9 months ago
Selected Answer: C
C. SQL injection all day.
upvoted 1 times
...
FK_AY
1 year, 9 months ago
C: SQLi
upvoted 1 times
...
AriesAE
1 year, 10 months ago
So how to quickly identify this?
upvoted 3 times
...
ebukiba
1 year, 11 months ago
c is correct
upvoted 1 times
...
darkhat
2 years ago
SQL Injection is a type of cybersecurity attack where an attacker injects malicious SQL code into a web application's input fields to manipulate the application's database. In this case, the URL parameter "id" is being manipulated with the input "' or '1'1='1".
upvoted 4 times
...
Protract8593
2 years ago
Selected Answer: C
The observed log indicates a potential SQL injection (SQLi) attack. SQL injection is a type of cyberattack where an attacker manipulates the input of a web application to execute malicious SQL queries. In the given log, the URL parameter "id" seems to be vulnerable to SQL injection as it includes the payload "' or '1'1='1". This payload is a classic technique used in SQL injection to make the application's query always evaluate to true, which can lead to unauthorized access or data leakage. Let's break down the payload: The single quote ' after "id=" might be used to terminate the intended query. The "or" keyword is then used to introduce a new condition. "1'1='1" is a condition that always evaluates to true. In SQL, '1'='1' is always true. By appending this payload to the URL parameter "id," the attacker might be attempting to trick the application's database into returning data that it shouldn't, potentially bypassing authentication mechanisms or accessing sensitive information. Therefore, the correct answer is C. SQLi.
upvoted 3 times
...
reverse01
2 years, 1 month ago
A big C. SQLi stands for SQL Injection. It is a type of web security vulnerability that occurs when an attacker is able to inject malicious SQL code into a web application's database query. This can happen when the application does not properly validate or sanitize user-supplied input before using it in SQL queries.
upvoted 1 times
...
ApplebeesWaiter1122
2 years, 1 month ago
Selected Answer: C
The provided log entry indicates a potential SQL injection (SQLi) attack. In SQLi attacks, an attacker injects malicious SQL code into an application's database query to manipulate or bypass the intended query logic. In this case, the presence of the "or '1'1='1" payload suggests an attempt to bypass authentication or authorization checks by injecting a condition that always evaluates to true. This type of attack can allow unauthorized access to sensitive data or perform unauthorized actions within the application's database.
upvoted 1 times
...
Hiattech
2 years, 4 months ago
Selected Answer: C
SQL Injection Attack
upvoted 1 times
...
ApplebeesWaiter1122
2 years, 5 months ago
Selected Answer: C
Correct answer is C
upvoted 2 times
...
DALLASCOWBOYS
2 years, 6 months ago
C. '1'1=1 indicator i=of an SQL injection
upvoted 2 times
...
xxxdolorxxx
2 years, 6 months ago
Selected Answer: C
I vote for C
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 ...