|
122 | 122 | "about 300,000 accounts by reusing passwords leaked from other " |
123 | 123 | "sites.", |
124 | 124 | }, |
| 125 | + { |
| 126 | + "key": "cors", |
| 127 | + "match": re.compile(r"\bcors\b|cross.origin resource sharing|" |
| 128 | + r"access-control-allow-origin|CWE-?942\b", re.I), |
| 129 | + "ref": "CWE-942; OWASP A05:2021", |
| 130 | + "abuse": "A malicious site that a signed-in user visits makes a credentialed " |
| 131 | + "cross-origin request to this site and reads the authenticated " |
| 132 | + "response, taking the user's own data.", |
| 133 | + "precedent": "A permissive CORS policy that reflects any origin with " |
| 134 | + "credentials is a well documented cause of cross-origin data " |
| 135 | + "theft, recognised in OWASP guidance and reported in many " |
| 136 | + "public disclosures.", |
| 137 | + }, |
| 138 | + { |
| 139 | + "key": "open-redirect", |
| 140 | + "match": re.compile(r"open redirect|unvalidated redirect|CWE-?601\b", re.I), |
| 141 | + "ref": "CWE-601; OWASP A01:2021", |
| 142 | + "abuse": "The attacker crafts a link on this trusted site that bounces the " |
| 143 | + "visitor to a site they control, for phishing or to capture an " |
| 144 | + "OAuth token from a sign-in response.", |
| 145 | + "precedent": "Open redirects are a standard phishing and OAuth token theft " |
| 146 | + "technique, documented in the OWASP Top 10 and used repeatedly " |
| 147 | + "against sign-in flows.", |
| 148 | + }, |
| 149 | + { |
| 150 | + "key": "host-header-injection", |
| 151 | + "match": re.compile(r"host header|host injection|password reset poison|" |
| 152 | + r"cache poison|CWE-?644\b", re.I), |
| 153 | + "ref": "CWE-644", |
| 154 | + "abuse": "The attacker sets the Host header so the site builds a password " |
| 155 | + "reset link, or a cached page, that points at the attacker's " |
| 156 | + "server, then waits for a victim to use it.", |
| 157 | + "precedent": "Host header injection that poisons password reset emails and " |
| 158 | + "web caches is a documented technique, described by security " |
| 159 | + "researchers and in OWASP guidance.", |
| 160 | + }, |
125 | 161 | { |
126 | 162 | "key": "data-exposure", |
127 | 163 | "match": re.compile(r"directory listing|directory index|exposed backup|" |
|
0 commit comments