Skip to content

Commit 2230ca4

Browse files
authored
[WAF] update changes in LCC ruleset (#32816)
* [WAF] update changes in LCC ruleset * Update 2026-08-20-leaked-credentials-authorization-header.mdx
1 parent 27394ce commit 2230ca4

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
title: "Leaked credentials detection now scans Authorization headers"
3+
description: Leaked credentials detection can now detect Basic Authentication credentials sent in the Authorization header.
4+
date: 2026-08-20
5+
---
6+
7+
[Leaked credentials detection](/waf/detections/leaked-credentials/) now scans the `Authorization` request header for Basic Authentication credentials. Previously, the detection only inspected request bodies, query strings, and headers for well-known web applications or custom detection locations, which meant credentials sent through HTTP Basic Authentication were not covered by default.
8+
9+
This new default scan location decodes the `Authorization: Basic <credentials>` header and compares the extracted username and password against Cloudflare's database of leaked credentials, the same way as other default scan locations. Matches populate the existing [leaked credentials fields](/waf/detections/leaked-credentials/#leaked-credentials-fields), such as `cf.waf.credential_check.password_leaked`, and trigger the [`Exposed-Credential-Check` managed transform header](/rules/transform/managed-transforms/reference/#add-leaked-credentials-checks-header) if configured, so you can reuse existing [custom rules](/waf/custom-rules/) and [rate limiting rules](/waf/rate-limiting-rules/) without changes.
10+
11+
This change was applied automatically for zones with leaked credentials detection enabled. No configuration changes are required.
12+
13+
For more information, refer to [Leaked credentials detection](/waf/detections/leaked-credentials/).

0 commit comments

Comments
 (0)