ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 150 - CS0-003 discussion

Report
Export

An organization conducted a web application vulnerability assessment against the corporate website, and the following output was observed:

Which of the following tuning recommendations should the security analyst share?

A.
Set an Http Only flag to force communication by HTTPS.
Answers
A.
Set an Http Only flag to force communication by HTTPS.
B.
Block requests without an X-Frame-Options header.
Answers
B.
Block requests without an X-Frame-Options header.
C.
Configure an Access-Control-Allow-Origin header to authorized domains.
Answers
C.
Configure an Access-Control-Allow-Origin header to authorized domains.
D.
Disable the cross-origin resource sharing header.
Answers
D.
Disable the cross-origin resource sharing header.
Suggested answer: C

Explanation:

The output shows that the web application has a cross-origin resource sharing (CORS) header that allows any origin to access its resources. This is a security misconfiguration that could allow malicious websites to make requests to the web application on behalf of the user and access sensitive data or perform unauthorized actions. The tuning recommendation is to configure the Access-Control-AllowOrigin header to only allow authorized domains that need to access the web application’s resources.

This would prevent unauthorized cross-origin requests and reduce the risk of cross-site request forgery (CSRF) attacks.

Reference: OWASP Top Ten | OWASP Foundation

asked 02/10/2024
Musa Aldarawsheh
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first