Inappropriate implementation in Passwords (CVE-2026-14019)
A logic flaw in Chrome's password reuse detector causes empty registry-controlled domain strings to match, so a phishing page on a raw IP address can bypass saved password-reuse warnings. An attacker could capture a reused password without triggering PhishGuard or marking the credential as phished.
Google Chrome
Originally disclosed on Chrome VRP
- Fix shipped in 34 days
Project Fortify, an experimental security project, has identified the following potential security issue. If you're a feature owner CC-ed on this bug, please do your best to review these reports. Please see https://chromium.googlesource.com/chromium/src/+/main/docs/security/ai-generated-security-bugs-faq.md for more information.
Overview: A potential logic flaw in PasswordReuseDetectorImpl allows a malicious site hosted on a raw public IP address to silently bypass PhishGuard saved password-reuse warnings. If a victim has a stored credential for a local IP or intranet host that reuses the same password, empty registry-controlled domain strings collide and incorrectly trigger an exclusion. This bypasses both the warning display and phished-credential marking.
Affected files:
components/password_manager/core/browser/password_reuse_detector_impl.cc
Estimated timestamp from git blame: 2024-10-11
Root Cause Analysis
In PasswordReuseDetectorImpl::CheckSavedPasswordReuseBasedOnHash (components/password_manager/core/browser/password_reuse_detector_impl.cc), the browser checks if a typed password represents a reuse event. If the active page's registry-controlled domain is present in the set of registry-controlled domains of any stored credentials sharing that password, the event is treated as authorized/non-reuse, and detection is skipped:
const std::string registry_controlled_domain =
GetRegistryControlledDomain(GURL(domain));
...
std::set<std::string> domains;
for (const auto& credential : credentials) {
domains.insert(GetRegistryControlledDomain(credential.url));
}
if (domains.contains(registry_controlled_domain)) {
continue; // Skip warning/reporting
}
GetRegistryControlledDomain resolves registry-controlled domains via net::registry_controlled_domains::GetDomainAndRegistry. This helper returns an empty string ("") for IP literals (such as local 192.168.1.1 or public IPv4/IPv6 addresses) and single-label intranet hosts (like http://nas/).
Because the empty string returned from both the stored credential (e.g. a home router) and the active phishing page match ("".contains("") evaluates to true), the detector incorrectly treats this as a matching-domain exception.
Furthermore, because the credentials are grouped by password hash, a single local IP or intranet credential with the same password will suppress reuse detection warnings for all other high-value domain credentials (such as financial or email accounts) sharing that password.
Potential Attack Scenario / Steps to Reproduce
Since our security tooling does not currently run executable tests, the following steps represent a potential scenario to trigger and demonstrate the issue:
- In a fresh Chrome profile with Safe Browsing enabled, save a credential for
http://192.168.1.1/(e.g., local home router) with the passwordRouterPass123!. - Save the same password
RouterPass123!for a high-value site likehttps://example-bank.test/. - The attacker hosts a phishing page containing a password input field on a public, routable IP address (e.g.,
http://203.0.113.1/). - The victim navigates to the public IP address and types the password
RouterPass123!character-by-character. - Observe via
chrome://password-manager-internals(or by setting a breakpoint inPasswordReuseDetectionManager::OnReuseCheckDone) whetheris_reuse_foundevaluates tofalse, allowing the password to be captured without triggering a PhishGuard warning or marking the credential as phished.
Suggested Fix
Modify CheckSavedPasswordReuseBasedOnHash to prevent empty-to-empty registry-controlled domain matches. If either the active page or the credential lacks a registrable domain, the exclusion should only be granted if their exact hosts match (ensuring we still allow typing a password on the exact same IP/intranet host it was saved on, but do not allow cross-IP or cross-intranet matches):
const std::string registry_controlled_domain =
GetRegistryControlledDomain(GURL(domain));
const std::string target_host = GURL(domain).host();
...
std::set<std::string> domains;
bool exact_host_matched = false;
for (const auto& credential : credentials) {
std::string cred_domain = GetRegistryControlledDomain(credential.url);
if (!cred_domain.empty()) {
domains.insert(cred_domain);
} else if (!target_host.empty() && credential.url.host() == target_host) {
exact_host_matched = true;
}
}
if (exact_host_matched ||
(!registry_controlled_domain.empty() && domains.contains(registry_controlled_domain))) {
continue;
}
Evaluated with Chrome root at commit: b1520ef4a76878853a31f0943b565e42060edec8
Results so far have been promising, but there can be wrong deductions. Feel free to adjust as follows:
- If you are familiar with the severity guidelines, you may adjust the severity.
- If this is a false positive, and there's no work to be done, please close as WAI.
- If there is work to do here but not a vulnerability, please change the issue type to Task/Bug/FR.
Data from false positives will be used to improve accuracy over time. And please feel free to reach out to me directly if you have concerns or feedback on the project.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The code compares registry-controlled domains, which are empty for IP addresses and intranet hosts, and treats two empty strings as a match, skipping the reuse warning.
Impact
A phishing page on a raw IP address could capture a reused password without Chrome showing a reuse warning or marking the credential as phished.
What the attacker needed
Victim has a saved credential for an IP or intranet host; victim reuses that password on another site; attacker hosts a phishing page on a public IP; victim types the password on the phishing page
The fix
The code should only skip the warning when the active page and the stored credential share a non-empty registry-controlled domain, or when their exact hosts match.
How it was found
- Save a credential for a local router IP with a chosen password.
- Save the same password for a high-value site.
- Host a phishing page with a password field on a public IP address.
- Have the victim visit that public IP and type the reused password.
- Check that the reuse check reports no reuse found, so no warning appears.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Chrome warns you if you type a saved password on a different website, to help spot phishing. This report says that warning can be skipped when the phishing site is on a bare IP address, because the code treats two empty website names as a match. That means a fake page could collect a reused password without Chrome flagging it.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.