Malicious Website Exploits | Unauthorized User Commands | CSSLP Exam

Unauthorized User Commands

Question

Which of the following is a malicious exploit of a website, whereby unauthorized commands are transmitted from a user trusted by the website?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

unauthorized action.

It increases data loss and malicious code execution.

Answer: A is incorrect.

Cross-site scripting (XSS) is a type of computer security.

CSRF (Cross-Site Request Forgery) is a malicious exploit of a website, whereby unauthorized commands are transmitted from a user trusted by the website.

It is also known as a one-click attack or session riding.

CSRF occurs when a user is tricked by an attacker into activating a request in order to perform some vulnerability typically found in web applications which enable malicious attackers to inject client-side script into web pages viewed by other users.

An exploited cross-site scripting vulnerability can be used by attackers to bypass access controls, such as the same origin policy.

Cross-site scripting carried out on websites were roughly 80% of all security vulnerabilities documented by Symantec as of 2007

Their impact may range from a petty nuisance to a significant security risk, incorrect.

A side channel attack is based on information gained from the physical implementation of a cryptosystem, rather than brute force or theoretical weaknesses in the algorithms (compare cryptanalysis)

For example, timing information, power consumption, electromagnetic leaks or even sound can provide an extra source of information which can be exploited to break the system.

Many side- channel attacks require considerable technical knowledge of the internal uses a sub-system.

They are the vulnerability holes that can be used to attack a database of Web applications.

It is the most common technique of attacking a database.

Injection occurs when user-supplied data is sent to an interpreter as part of a command or query.

The attacker's hostile data tricks the interpreter into executing involuntary commands or changing data.

Injection flaws include XSS (HTML Injection) and SQL Injection.

The correct answer is D. Cross-Site Request Forgery (CSRF).

Cross-Site Request Forgery (CSRF) is a type of web application vulnerability that allows an attacker to trick a victim into executing an action on a website without their knowledge or consent. In this attack, the attacker creates a web page with a hidden form or script that will submit a request to the target website, using the victim's credentials or session cookie to authenticate the request. The target website will treat this request as if it was made by the victim, since it appears to come from a trusted source.

For example, suppose a user is logged into their bank account and visits a malicious website that contains a hidden form that will transfer money from their account to the attacker's account. If the user submits the form, the transfer will be made without their knowledge or consent, since the request is authenticated with the victim's credentials.

Cross-Site Scripting (XSS) is a different type of web application vulnerability that allows an attacker to inject malicious code into a website that is executed by other users who visit the site. This can allow the attacker to steal sensitive information or take control of the victim's browser.

Injection flaws refer to a range of vulnerabilities that allow an attacker to inject malicious code or data into a website or application, often by exploiting a lack of input validation or sanitization.

Side channel attacks are a type of attack that exploits vulnerabilities in the physical properties of a system, such as power consumption or electromagnetic emissions, to extract sensitive information.

In summary, CSRF is a malicious exploit of a website that allows an attacker to execute unauthorized commands from a user trusted by the website, while XSS is a vulnerability that allows an attacker to inject malicious code into a website, and injection flaws refer to a range of vulnerabilities that allow an attacker to inject malicious code or data into a website or application. Side channel attacks are a type of attack that exploits vulnerabilities in the physical properties of a system.