Kaspersky Password Manager allows websites to access user's address data
Kaspersky Password Manager's browser extension injects its user interface into untrusted web pages without protections, allowing any website to instrument that interface and read stored address data. An attacker could silently extract the user's name and address, enabling deanonymisation and tracking.
- Triaged in 22 hours
- Fixed in 4 months
- Paid in 31 days
- Disclosed after 13 months
Note: According to https://www.securityweek.com/kaspersky-adds-password-manager-bug-bounty-program and some other sources, Kaspersky Password Manager is in scope for this program. The program description doesn't reflect this however.
Summary
It is possible for websites to read out addresses that the user stores in Kaspersky Password Manager.
Description Kaspersky Password Manager injects its user interface into untrusted web pages, there are no protections in place. This makes it easy for websites to instrument the user interface, e.g. to fill in addresses without the user's consent or knowledge.
Environment
- Scope: Application
- Product name: Kaspersky Password Manager, browser extensions installed
- Product version: 9.0.1.447
- OS name and version (incl SP): Windows 10 Version 1803
- Attack type: Information Disclosure
- Maximum user privileges needed to reproduce your issue: no privileges
Steps to reproduce
- Make sure to unlock Kaspersky Password Manager and to add an address. The actual address part should be a single line (filling in fails for multiline values with my PoC which could certainly be addressed if necessary).
- Download the attached extract_address.html and open it via any web server (localhost will do).
- Go to http://.../extract_address.html with your browser (I tried Firefox 62 but this should work in Chrome as well) and wait a few seconds.
An alert message will pop up telling your name and address. This information could be sent to a third party without you noticing anything.
Impact
This allows to deanonymize and to track users, the address being a particularly valuable piece of information. Privacy conscious users will still be recognized reliably, even if clearing cookies and using proxy servers. In addition, advertisers will certainly love the possibility of telling exactly where the person lives - makes for some great targeting.
Context
Kaspersky Password Manager is a credential and personal data store that ships a browser extension alongside the desktop application. The extension injects its user interface directly into the pages the user visits, so that the manager can offer to fill stored credentials and other saved data, such as addresses, into forms on those pages.
The report concerns that injected interface. The researcher's claim is that because the interface is placed into untrusted pages with no protections around it, any website can drive it programmatically and read back the address data the user has stored in the manager. The product version tested was 9.0.1.447, with the browser extensions installed, on Windows 10 Version 1803.
A note at the top of the report points out that Kaspersky Password Manager is described as in scope for the programme by public sources, while the programme description itself does not reflect this.
Setup
The preconditions are minimal, and the researcher records that no privileges are needed to reproduce the issue:
- Kaspersky Password Manager installed with its browser extensions, version 9.0.1.447.
- Windows 10 Version 1803.
- The manager unlocked, with at least one address stored.
- The stored address must have its actual address part on a single line. The researcher notes that filling in fails for multiline values with the proof of concept, and that this could certainly be addressed if necessary.
- A web server to host the proof of concept, with localhost being sufficient.
- A browser. The researcher tried Firefox 62 and expected it to work in Chrome as well.
The attack type is recorded as Information Disclosure, and the scope as Application.
Finding it
The observation behind the report is structural rather than the result of a single malformed request: Kaspersky Password Manager injects its user interface into untrusted web pages, and there are no protections in place around that interface. Because the page and the injected interface share the same document, a website can instrument the interface. The researcher's example of what that enables is filling in addresses without the user's consent or knowledge.
Once a page can drive the fill action, the filled values are in the page, and the page can read them. That is the step that turns a UI-injection weakness into an information disclosure: the address data the user stored in the manager ends up readable by the site that triggered the fill.
Exploitation
Step 1: Prepare the manager
Unlock Kaspersky Password Manager and add an address. The actual address part should be a single line, because filling in fails for multiline values with the proof of concept. This is the data the attack will extract.
Step 2: Host the proof of concept
Download the attached extract_address.html and open it via any web server; localhost will do. The report does not include the contents of that file, so the exact selectors and calls it uses to reach the injected interface are not shown here.
Step 3: Visit the page and wait
Browse to the page:
http://.../extract_address.html
The researcher used Firefox 62 and notes that this should work in Chrome as well. After a few seconds, an alert message pops up telling the user's name and address. The same information could be sent to a third party without the user noticing anything.
Root cause
The design decision at fault is that the manager injects its user interface into untrusted web pages with no protections in place. The page and the interface live in the same context, so page script can instrument the interface, for example to trigger a fill without the user's consent or knowledge, and then read the values that were placed into the page.
Why the existing defences did not stop it is not described in the report. The likely explanation is that nothing isolates the injected interface from page script, but the report itself only states that no protections are in place.
Impact
The extracted data allows deanonymisation and tracking of users, with the address being a particularly valuable piece of information. Privacy conscious users will still be recognised reliably, even if they clear cookies and use proxy servers. The researcher also notes that advertisers would value the ability to tell exactly where a person lives, for targeting.
The attack requires the user to visit a page that instruments the injected interface while the manager is unlocked and an address is stored, and the address must be single-line for the proof of concept to fill it. The report does not describe any interaction the user has to perform on the page beyond loading it and waiting.
Fix
The report does not describe a fix or a vendor response. What it implies is that the injected interface must not be drivable or readable by the page it is injected into: the interface needs to be isolated from untrusted page script so that a site cannot trigger a fill or read the filled values without the user's involvement.
Variants to test
- Other password managers and form fillers that inject UI into pages: check whether page script can reach the injected elements and trigger a fill. A positive result is a stored value appearing in the DOM after page script acts, with no user interaction.
- Other data types stored by the same manager, such as names, phone numbers or payment details: the report demonstrates addresses, and the same interface may expose other stored fields.
- Multiline address values: the researcher notes filling fails for these with the proof of concept. A positive result would be a variant that fills and extracts a multiline address.
- Browsers other than Firefox 62: the researcher expected Chrome to work as well. A positive result is the same alert with the stored name and address in another browser.
Hunting notes
This kind of bug hides in browser extensions that add UI to arbitrary pages: form fillers, password managers, translation tools and similar. During recon, the signal is an extension whose interface appears inside the page DOM rather than in an isolated context, which suggests page script may be able to reach it.
The researcher showed impact by extracting the stored name and address into an alert, and by explaining that the same data could be sent to a third party silently. That demonstration, plus the deanonymisation argument for users who clear cookies and use proxies, is what makes the case for the report. The report does not record a bounty or a CVSS score.
What happened, in plain words
Kaspersky Password Manager is a program that stores things you would otherwise have to remember or type: passwords, and also personal details such as your name and address. It comes as a desktop application plus a browser extension. The extension is the part that puts a small Kaspersky interface directly inside the web pages you visit, so it can offer to fill in your saved password or address when you are on a form.
The researcher found that this interface is placed into the page with nothing separating it from the page itself. A website can therefore reach into that interface, make it fill in your stored address, and then read the result. The site never asks you, and you never see anything happen. The proof of concept shows the extracted name and address in a pop-up alert, but the same data could be quietly sent to a third party.
The product version tested was 9.0.1.447, with the browser extensions installed, on Windows 10 Version 1803. The report records the attack type as Information Disclosure and the scope as Application.
A note at the top of the report says that public sources describe Kaspersky Password Manager as in scope for the programme, while the programme description itself does not reflect this.
Context
To follow this, you only need to know a few everyday ideas.
A browser extension is a small add-on you install in your browser. It can add buttons, change pages, or, as here, insert its own little panel into the page you are looking at.
A web page in a browser is not just pictures and text. It is a document, and the browser builds a live structure from it that scripts on the page can read and change. When an extension inserts its panel into that same document, the panel and the page live in the same place. Think of two people writing on the same sheet of paper: whatever one writes, the other can read.
Information Disclosure is the security term for a bug where data that should stay private ends up somewhere it should not be. Here, the private data is the address you saved in the manager, and the wrong place is the web page you happen to be visiting.
The report concerns that injected interface. The researcher's claim is that because the interface is placed into untrusted pages with no protections around it, any website can drive it programmatically and read back the address data the user has stored in the manager.
Setup
The preconditions are minimal, and the researcher records that no privileges are needed to reproduce the issue:
- Kaspersky Password Manager installed with its browser extensions, version 9.0.1.447.
- Windows 10 Version 1803.
- The manager unlocked, with at least one address stored.
- The stored address must have its actual address part on a single line. The researcher notes that filling in fails for multiline values with the proof of concept, and that this could certainly be addressed if necessary.
- A web server to host the proof of concept, with localhost being sufficient.
- A browser. The researcher tried Firefox 62 and expected it to work in Chrome as well.
A web server is simply a program that hands files to your browser when it asks for them. "Localhost" means your own computer: you can serve a file from your own machine and open it in the browser as if it were a website, which is handy for testing without putting anything on the internet.
Finding it
The observation behind the report is structural rather than the result of a single malformed request: Kaspersky Password Manager injects its user interface into untrusted web pages, and there are no protections in place around that interface. Because the page and the injected interface share the same document, a website can instrument the interface. The researcher's example of what that enables is filling in addresses without the user's consent or knowledge.
Once a page can drive the fill action, the filled values are in the page, and the page can read them. That is the step that turns a UI-injection weakness into an information disclosure: the address data the user stored in the manager ends up readable by the site that triggered the fill.
Exploitation
Step 1: Prepare the manager
Unlock Kaspersky Password Manager and add an address. The actual address part should be a single line, because filling in fails for multiline values with the proof of concept. This is the data the attack will extract.
Why this step: the attack needs something worth stealing. An unlocked manager with a saved address gives the proof of concept real data to pull out, which is what makes the result convincing.
Step 2: Host the proof of concept
Download the attached extract_address.html and open it via any web server; localhost will do. The report does not include the contents of that file, so the exact selectors and calls it uses to reach the injected interface are not shown here.
Why this step: the malicious page has to be delivered to the browser the same way any website is, by asking a server for it. Serving it from your own machine keeps the test self-contained.
Step 3: Visit the page and wait
Browse to the page:
http://.../extract_address.html
This is the address you type into the browser's address bar. http:// is the ordinary, unencrypted way a browser asks a server for a page. The ... stands for the host, which in this test is your own machine. extract_address.html is the file name of the proof of concept.
The researcher used Firefox 62 and notes that this should work in Chrome as well. After a few seconds, an alert message pops up telling the user's name and address. The same information could be sent to a third party without the user noticing anything.
Why this step: loading the page is the whole trigger. The page's own script can instrument the injected Kaspersky interface, which the report says allows filling in addresses without the user's consent or knowledge.
Root cause
The design decision at fault is that the manager injects its user interface into untrusted web pages with no protections in place. The page and the interface live in the same context, so page script can instrument the interface, for example to trigger a fill without the user's consent or knowledge, and then read the values that were placed into the page.
Why the existing defences did not stop it is not described in the report. The likely explanation is that nothing isolates the injected interface from page script, but the report itself only states that no protections are in place.
Impact
The extracted data allows deanonymisation and tracking of users, with the address being a particularly valuable piece of information. Privacy conscious users will still be recognised reliably, even if they clear cookies and use proxy servers. The researcher also notes that advertisers would value the ability to tell exactly where a person lives, for targeting.
A cookie is a small note a website asks your browser to keep, so the site can recognise you on your next visit. Clearing cookies is the usual way to shake off tracking. A proxy server is a middleman computer that fetches pages on your behalf, so the site sees the proxy's address rather than yours. The point here is that neither trick helps: the address itself identifies you, no matter which browser session or network path it arrives through.
The attack requires the user to visit a page that instruments the injected interface while the manager is unlocked and an address is stored, and the address must be single-line for the proof of concept to fill it. The report does not describe any interaction the user has to perform on the page beyond loading it and waiting.
Fix
The report does not describe a fix or a vendor response. What it implies is that the injected interface must not be drivable or readable by the page it is injected into: the interface needs to be isolated from untrusted page script so that a site cannot trigger a fill or read the filled values without the user's involvement.
Variants to test
- Other password managers and form fillers that inject UI into pages: check whether page script can reach the injected elements and trigger a fill. A positive result is a stored value appearing in the page after page script acts, with no user interaction.
- Other data types stored by the same manager, such as names, phone numbers or payment details: the report demonstrates addresses, and the same interface may expose other stored fields.
- Multiline address values: the researcher notes filling fails for these with the proof of concept. A positive result would be a variant that fills and extracts a multiline address.
- Browsers other than Firefox 62: the researcher expected Chrome to work as well. A positive result is the same alert with the stored name and address in another browser.
Hunting notes
This kind of bug hides in browser extensions that add UI to arbitrary pages: form fillers, password managers, translation tools and similar. During recon, the signal is an extension whose interface appears inside the page itself rather than in a separate, sealed-off place, which suggests page script may be able to reach it.
The researcher showed impact by extracting the stored name and address into an alert, and by explaining that the same data could be sent to a third party silently. That demonstration, plus the deanonymisation argument for users who clear cookies and use proxies, is what makes the case for the report. The report does not record a bounty or a CVSS score.
Glossary
- Browser extension: an add-on installed in a browser that can add features or insert its own interface into pages.
- Web page document: the live structure the browser builds from a page, which scripts can read and change.
- Injected interface: an extension's own panel placed inside the page you are viewing.
- Untrusted page: a page controlled by someone other than the extension's maker, such as any website you visit.
- Information Disclosure: a bug where private data ends up somewhere it should not be readable.
- Programmatically: done by a script rather than by a person clicking.
- Proof of concept (PoC): a small test that demonstrates a bug really works.
- Web server: a program that sends files to your browser when it asks for them.
- Localhost: your own computer, used as a server for testing.
- http://: the ordinary, unencrypted way a browser requests a page.
- Alert: a small pop-up box a page can show to display a message.
- Deanonymisation: working out who a person is when they wanted to stay anonymous.
- Tracking: recognising the same person across visits or sites.
- Cookie: a small note a site asks your browser to keep so it can recognise you later.
- Proxy server: a middleman computer that fetches pages for you, hiding your own address from the site.
- DOM: the live structure of a page in the browser, which scripts can read and change.
- CVSS score: a standard number used to rate how severe a security bug is.
- Bounty: a payment a company makes to someone who reports a security bug.