$ ./guess_the_languageCybersecurity
Cybersecurity · medium · #251

Which attack does this XML payload attempt?

<!DOCTYPE foo [<!ENTITY xxe SYSTEM "file:///etc/passwd">]>
<user>&xxe;</user>
  1. LDAP injection
  2. Server-side template injection
  3. XML external entity (XXE)
  4. Stored cross-site scripting
A parser that resolves external entities will inline the local file; disabling DTDs or external entities fixes it.
Play Cybersecurity ▸