LastPass websiteConnector.js content...

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

noticed this entry in the content_script array from the LastPass manifest: ``` { "matches": [ "https://1min-ui-prod.service.lastpass.com/*" ], "js": [ "1minsignup/chrome/websiteConnector.js" ], "all_frames": true, "run_at": "document_end" }, ``` That's a content script that is only used for one specific lastpass.com domain, if we look at the script: ``` $ uglifyjs --beautify < 1minsignup/chrome/websiteConnector.js ... window.addEventListener("message", function(e) { e.data.fromExtension || chrome.runtime.sendMessage(e.data, function(e) {}); }); ``` That doesn't look good, this script will proxy unauthenticated window messages to the extension. This is clearly a mistake, because anybody can do ``` win = window.open("https://1min-ui-prod.service.lastpass.com/"); win.postMessage({}, "*"); ``` Therefore, this allows complete access to internal privileged LastPass RPC commands. There are hundreds of internal LastPass RPCs, but the obviously bad ones are things copying and filling in...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息