Attacks and Exploits
A static analysis report labels a finding in a login module as CWE-798. What does this identifier tell the tester?
Show the answer
Correct answerC. The category of coding or design weakness behind the flaw
AWhy not this: This describes a CVE ID, which tracks one specific vulnerability rather than a weakness class.
BWhy not this: This describes a CVSS base score, which rates severity rather than naming a weakness.
CWhy this is right: CWE catalogs types of weaknesses, so the ID names the underlying flaw category.
DWhy not this: This describes EPSS, which estimates the likelihood of exploitation, not a weakness type.
A CWE ID names a class of software weakness, here hard-coded credentials, that can appear in many products. A CVE ID instead identifies one specific vulnerability in a specific product, which is the most tempting wrong choice.