CVE-2023-4759 - Improper Link Resolution Before File Access ('Link Following')

Severity

88%

Complexity

27%

Confidentiality

98%

CVSS 3.1 Base Score 8.8. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Demo Examples

Improper Handling of Case Sensitivity

CWE-178

In the following example, an XSS neutralization method replaces script tags in user supplied input with a safe equivalent:


               
}
return input.replaceAll("script", mask);

The code only works when the "script" tag is in all lower-case, forming an incomplete blacklist (CWE-184). Equivalent tags such as "SCRIPT" or "ScRiPt" will not be neutralized by this method, allowing an XSS attack.

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.