[Bug] Password manager exposes the password length and decrypts without a private key!

%3CLINGO-SUB%20id%3D%22lingo-sub-1132731%22%20slang%3D%22en-US%22%3E%5BBug%5D%20Password%20manager%20exposes%20the%20password%20length%20and%20decrypts%20without%20a%20private%20key!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1132731%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20a%20security%20issue%20that%20is%20out%20in%20the%20wild%2C%20though%20I%20do%20not%20think%20it%20is%20that%20so%20severe%20that%20it%20poses%20a%20risk%20to%20mention%20it%20here.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20page%26nbsp%3B%3CA%20href%3D%22edge%3A%2F%2Fsettings%2Fpasswords%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eedge%3A%2F%2Fsettings%2Fpasswords%3C%2FA%3E%26nbsp%3Ballows%20the%20person%20in%20front%20of%20the%20computer%20to%20reveal%20passwords%20after%20they%20convince%20the%20browser%20about%20their%20ownership%20by%20entering%20their%20account's%20password%2C%20or%20their%20PIN%20on%20that%20device.%20That's%20cool!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EThe%20problem%20is%2C%3C%2FSTRONG%3E%20it%20also%20displays%20their%20actual%20lengths%20of%20the%20passwords%20without%20any%20proof%20of%20ownership!%20The%20problem%20here%20is%20two%20fold%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3COL%3E%3CLI%3E%3CSTRONG%3EHow%2C%20even%3F%3C%2FSTRONG%3E%20How%20is%20it%20even%20able%20to%20do%20that%20in%20the%20first%20place%3F%20I%20would%20expect%20the%20passwords%20to%20be%20encrypted%20in%20such%20ways%20that%20even%20the%20browser%20itself%20cannot%20decipher%20the%20passwords%2C%20nor%20their%20lengths%2C%20without%20the%20%3CEM%3Eprivate%20key%2C%3C%2FEM%3E%20which%20should%20have%20been%20a%20derivative%20of%20the%20credential%20that%20the%20user%20should%20be%20entering.%3C%2FLI%3E%3CLI%3E%3CSTRONG%3EA%20premature%20hint!%3C%2FSTRONG%3E%20Exposing%20the%20length%20of%20the%20password%20is%20too%20much%20of%20a%20hint%20to%20tell%20someone%20who%20hasn't%20yet%20provided%20their%20proof%20of%20ownership.%20The%20browser%20is%20reluctant%20to%20expose%20the%20password%20as%20a%20whole%3B%20it%20asks%20for%20an%20authentication%20before%20doing%20that.%20Then%2C%20why%20is%20the%20browser%20even%20giving%20this%20piece%20of%20hint%20out%3F%20To%20convince%20the%20person%20in%20front%20of%20the%20computer%20that%20it%20really%20has%20the%20actual%20password%3F%20Aesthetics%3F%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJust%20now%20I%20realized%20that%20the%20auto-fill%20somehow%20also%20enters%20my%20password%20in%20plain%20text%20to%20the%20websites%2C%20without%20asking%20any%20private%20key%20or%20sorts...%20I%20guess%20then%20being%20the%20person%20in%20front%20of%20an%20unlocked%20computer%20is%20enough%20to%20get%20the%20passwords%20deciphered%20(and%20entered%20via%20auto-fill).%20Then%20my%20question%20is%20in%20reverse%3A%20What%20is%20the%20point%20of%20keeping%20them%20censored%20on%20%3CA%20href%3D%22edge%3A%2F%2Fsettings%2Fpasswords%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eedge%3A%2F%2Fsettings%2Fpasswords%3C%2FA%3E%26nbsp%3Bat%20all%2C%20if%20we%20trust%20this%20person%20so%20much%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWindows%20in%20and%20of%20itself%20does%20not%20trust%20so%20easily%3A%20Fire%20up%20the%20%22Credential%20Manager%22%20(type%20that%20onto%20Start%20menu%20search).%20It%20displays%20the%20censored%20passwords%20with%20the%20dummy%20length%20of%208%20or%20something.%20They%20are%20revealed%20only%20after%20authentication.%20I%20%3CEM%3Ehope%3C%2FEM%3E%20that%2C%20without%20authentication%2C%20it%20does%20not%20decipher%20the%20passwords%20nor%20give%20them%20away%20either.%20Why%20does%20a%20the%20browser%20give%20in%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECould%20you%20provide%20an%20option%20on%26nbsp%3B%3CA%20href%3D%22edge%3A%2F%2Fsettings%2Fpasswords%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Eedge%3A%2F%2Fsettings%2Fpasswords%3C%2FA%3E%26nbsp%3Bto%20let%20us%20choose%20to%20require%20authentication%20before%20auto-filling%20the%20passwords%3F%20Just%20like%20the%20one%20that%20pops%20up%20when%20you%20hit%20the%20%22peek%22%20button%20to%20reveal%20the%20passwords.%20I%20personally%20find%20the%20auto-fill%20as%20it%20is%20kind%20of%20insecure.%20I%20would%20rather%20enter%20my%20PIN%20every%20time%20I%20log%20in%20(with%20cookies%2C%20this%20doesn't%20happen%20so%20frequently%20anyway)%2C%20than%20to%20have%20the%20equivalent%20of%20keeping%20my%20passwords%20in%20a%20passwords.txt%20that%20I%20hid%20deep%20in%20my%20Documents.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESincerely%2C%3C%2FP%3E%3CP%3EUtkan%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1132731%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Eautofill%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBUG%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFeature%20Request%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Epassword%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESecurity%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1134327%22%20slang%3D%22en-US%22%3ERe%3A%20%5BBug%5D%20Password%20manager%20exposes%20the%20password%20length%20and%20decrypts%20without%20a%20private%20key!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1134327%22%20slang%3D%22en-US%22%3E%3CP%3E%3CSTRIKE%3EI%20totally%20agree%2C%3C%2FSTRIKE%3E%3CBR%20%2F%3E%3CSTRIKE%3EEdge%20should%20make%20all%20of%20the%20passwords%20the%20same%20length%20when%20they%20are%20encrypted%20so%20their%20real%20length%20won't%20be%20known%20by%20anyone%20that%20doesn't%20have%20the%20correct%20credentials%3C%2FSTRIKE%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1151907%22%20slang%3D%22en-US%22%3ERe%3A%20%5BBug%5D%20Password%20manager%20exposes%20the%20password%20length%20and%20decrypts%20without%20a%20private%20key!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1151907%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394167%22%20target%3D%22_blank%22%3E%40utkangezer%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3EUpdate%3A%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3EIf%20an%20attacker%20has%20unrestricted%20physical%20access%20to%20your%20computer%2C%20they%20can%20just%20convert%20the%20password%20fields%20to%20text%20fields%20or%20use%20DevTools%20to%20read%20them%20as%20plaintext.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22css-901oao%20css-16my406%20r-1qd0xha%20r-ad9z0x%20r-bcqeeo%20r-qvutc0%22%3E%3CSPAN%20class%3D%22r-18u37iz%22%3E%3CA%20href%3D%22https%3A%2F%2Fmobile.twitter.com%2Fhashtag%2FLockYourPCs%3Fsrc%3Dhashtag_click%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%23LockYourPCs%3C%2FA%3E%3C%2FSPAN%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH2%20id%3D%22toc-hId--1413629414%22%20id%3D%22toc-hId--1413629414%22%20id%3D%22toc-hId--1413629414%22%20id%3D%22toc-hId--1413629414%22%20id%3D%22toc-hId--1413629414%22%3EWhat%20about%20unmasking%20of%20passwords%20with%20the%20developer%20tools%3F%3C%2FH2%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOne%20of%20the%20most%20frequent%20reports%20we%20receive%20is%20password%20disclosure%20using%20the%20Inspect%20Element%20feature%20(see%20%3CA%20href%3D%22https%3A%2F%2Fcrbug.com%2F126398%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EIssue%20126398%3C%2FA%3E%20for%20an%20example).%20People%20reason%20that%20%E2%80%9CIf%20I%20can%20see%20the%20password%2C%20it%20must%20be%20a%20bug.%E2%80%9D%20However%2C%20this%20is%20just%20one%20of%20the%20%3CA%20href%3D%22https%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Fmaster%2Fdocs%2Fsecurity%2Ffaq.md%23TOC-Why-aren-t-physically-local-attacks-in-Chrome-s-threat-model-%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ephysically-local%20attacks%20described%20in%20the%20previous%20section%3C%2FA%3E%2C%20and%20all%20of%20those%20points%20apply%20here%20as%20well.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20reason%20the%20password%20is%20masked%20is%20only%20to%20prevent%20disclosure%20via%20%E2%80%9Cshoulder-surfing%E2%80%9D%20(i.e.%20the%20passive%20viewing%20of%20your%20screen%20by%20nearby%20persons)%2C%20not%20because%20it%20is%20a%20secret%20unknown%20to%20the%20browser.%20The%20browser%20knows%20the%20password%20at%20many%20layers%2C%20including%20JavaScript%2C%20developer%20tools%2C%20process%20memory%2C%20and%20so%20on.%20When%20you%20are%20physically%20local%20to%20the%20computer%2C%20and%20only%20when%20you%20are%20physically%20local%20to%20the%20computer%2C%20there%20are%2C%20and%20always%20will%20be%2C%20tools%20for%20extracting%20the%20password%20from%20any%20of%20these%20places.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CH2%20id%3D%22toc-hId-1073883419%22%20id%3D%22toc-hId-1073883419%22%20id%3D%22toc-hId-1073883419%22%20id%3D%22toc-hId-1073883419%22%20id%3D%22toc-hId-1073883419%22%3EWhy%20aren%E2%80%98t%20physically-local%20attacks%20in%20Chrome%E2%80%99s%20threat%20model%3F%3C%2FH2%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPeople%20sometimes%20report%20that%20they%20can%20compromise%20Chrome%20by%20installing%20a%20malicious%20DLL%20in%20a%20place%20where%20Chrome%20will%20load%20it%2C%20by%20hooking%20APIs%20(e.g.%20%3CA%20href%3D%22https%3A%2F%2Fcrbug.com%2F130284%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EIssue%20130284%3C%2FA%3E)%2C%20or%20by%20otherwise%20altering%20the%20configuration%20of%20the%20PC.%3C%2FP%3E%3CP%3EWe%20consider%20these%20attacks%20outside%20Chrome's%20threat%20model%2C%20because%20there%20is%20no%20way%20for%20Chrome%20(or%20any%20application)%20to%20defend%20against%20a%20malicious%20user%20who%20has%20managed%20to%20log%20into%20your%20computer%20as%20you%2C%20or%20who%20can%20run%20software%20with%20the%20privileges%20of%20your%20operating%20system%20user%20account.%20Such%20an%20attacker%20can%20modify%20executables%20and%20DLLs%2C%20change%20environment%20variables%20like%20PATH%2C%20change%20configuration%20files%2C%20read%20any%20data%20your%20user%20account%20owns%2C%20email%20it%20to%20themselves%2C%20and%20so%20on.%20Such%20an%20attacker%20has%20total%20control%20over%20your%20computer%2C%20and%20nothing%20Chrome%20can%20do%20would%20provide%20a%20serious%20guarantee%20of%20defense.%20This%20problem%20is%20not%20special%20to%20Chrome%20%C2%AD%E2%80%94%20all%20applications%20must%20trust%20the%20physically-local%20user.%3C%2FP%3E%3CP%3EThere%20are%20a%20few%20things%20you%20can%20do%20to%20mitigate%20risks%20from%20people%20who%20have%20physical%20control%20over%20%3CSTRONG%3Eyour%3C%2FSTRONG%3E%20computer%2C%20in%20certain%20circumstances.%3C%2FP%3E%3CUL%3E%3CLI%3ETo%20stop%20people%20from%20reading%20your%20data%20in%20cases%20of%20device%20theft%20or%20loss%2C%20use%20full%20disk%20encryption%20(FDE).%20FDE%20is%20a%20standard%20feature%20of%20most%20operating%20systems%2C%20including%20Windows%20Vista%20and%20later%2C%20Mac%20OS%20X%20Lion%20and%20later%2C%20and%20some%20distributions%20of%20Linux.%20(Some%20older%20versions%20of%20Mac%20OS%20X%20had%20partial%20disk%20encryption%3A%20they%20could%20encrypt%20the%20user%E2%80%99s%20home%20folder%2C%20which%20contains%20the%20bulk%20of%20a%20user%E2%80%99s%20sensitive%20data.)%20Some%20FDE%20systems%20allow%20you%20to%20use%20multiple%20sources%20of%20key%20material%2C%20such%20as%20the%20combination%20of%20both%20a%20password%20and%20a%20key%20file%20on%20a%20USB%20token.%20When%20available%2C%20you%20should%20use%20multiple%20sources%20of%20key%20material%20to%20achieve%20the%20strongest%20defense.%20Chrome%20OS%20encrypts%20users%E2%80%99%20home%20directories.%3C%2FLI%3E%3CLI%3EIf%20you%20share%20your%20computer%20with%20other%20people%2C%20take%20advantage%20of%20your%20operating%20system%E2%80%99s%20ability%20to%20manage%20multiple%20login%20accounts%2C%20and%20use%20a%20distinct%20account%20for%20each%20person.%20For%20guests%2C%20Chrome%20OS%20has%20a%20built-in%20Guest%20account%20for%20this%20purpose.%3C%2FLI%3E%3CLI%3ETake%20advantage%20of%20your%20operating%20system%E2%80%99s%20screen%20lock%20feature.%3C%2FLI%3E%3CLI%3EYou%20can%20reduce%20the%20amount%20of%20information%20(including%20credentials%20like%20cookies%20and%20passwords)%20that%20Chrome%20will%20store%20locally%20by%20using%20Chrome's%20Content%20Settings%20(%3CA%20href%3D%22https%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Fmaster%2Fdocs%2Fsecurity%2Fchrome%253A%2F%2Fsettings%2Fcontent%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Echrome%3A%2F%2Fsettings%2Fcontent%3C%2FA%3E)%20and%20turning%20off%20the%20form%20auto-fill%20and%20password%20storage%20features%20(%3CA%20href%3D%22https%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Fmaster%2Fdocs%2Fsecurity%2Fchrome%253A%2F%2Fsettings%2Fsearch%23password%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Echrome%3A%2F%2Fsettings%2Fsearch%23password%3C%2FA%3E).%3C%2FLI%3E%3C%2FUL%3E%3CP%3EThere%20is%20almost%20nothing%20you%20can%20do%20to%20mitigate%20risks%20when%20using%20a%20%3CSTRONG%3Epublic%3C%2FSTRONG%3E%20computer.%3C%2FP%3E%3CUL%3E%3CLI%3EAssume%20everything%20you%20do%20on%20a%20public%20computer%20will%20become%2C%20well%2C%20public.%20You%20have%20no%20control%20over%20the%20operating%20system%20or%20other%20software%20on%20the%20machine%2C%20and%20there%20is%20no%20reason%20to%20trust%20the%20integrity%20of%20it.%3C%2FLI%3E%3CLI%3EIf%20you%20must%20use%20such%20a%20computer%2C%20use%20Incognito%20mode%20and%20close%20all%20Incognito%20windows%20when%20you%20are%20done%20browsing%20to%20limit%20the%20amount%20of%20data%20you%20leave%20behind.%20Note%20that%20Incognito%20mode%20%3CSTRONG%3Eprovides%20no%20protection%3C%2FSTRONG%3E%20if%20the%20system%20has%20already%20been%20compromised%20as%20described%20above.%3C%2FLI%3E%3C%2FUL%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Fmaster%2Fdocs%2Fsecurity%2Ffaq.md%23What-about-unmasking-of-passwords-with-the-developer-tools%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESource%3C%2FA%3E%3C%2FP%3E%3CP%3Eand%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fchromium.googlesource.com%2Fchromium%2Fsrc%2F%2B%2Fmaster%2Fdocs%2Fsecurity%2Ffaq.md%23TOC-Why-aren-t-physically-local-attacks-in-Chrome-s-threat-model-%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3ESource%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1280887%22%20slang%3D%22en-US%22%3ERe%3A%20%5BBug%5D%20Password%20manager%20exposes%20the%20password%20length%20and%20decrypts%20without%20a%20private%20key!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1280887%22%20slang%3D%22en-US%22%3E%3CP%3ETo%20reiterate%2C%20Edge%20does%20not%20blindly%20trust%20the%20person%20sitting%20in%20front%20of%20the%20computer.%20It%20does%20ask%20the%20PIN%20from%20the%20user%20before%20showing%20the%20password%20in%20clear%20text.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20while%20it%20doesn't%20fully%20trust%20the%20person%20sitting%20in%20front%2C%20it%20apparently%20trusts%20them%20%22somewhat%22.%20It%20displays%20the%20true%20length%20of%20the%20password%20without%20PIN.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20see%20any%20reason%20for%20this%20%22human-like%22%20behavior%2C%20where%20the%20software%20(Microsoft%20Edge)%20doesn't%20fully%20trust%20or%20distrust%20the%20user%2C%20but%20trusts%20them%20%22somewhat%22.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1280953%22%20slang%3D%22en-US%22%3ERe%3A%20%5BBug%5D%20Password%20manager%20exposes%20the%20password%20length%20and%20decrypts%20without%20a%20private%20key!%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1280953%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F394167%22%20target%3D%22_blank%22%3E%40utkangezer%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%2C%20please%20see%20this%20post%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fnew-security-feature-passwords-length-are-now-hidden-in-edge%2Fm-p%2F1280950%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fdiscussions%2Fnew-security-feature-passwords-length-are-now-hidden-in-edge%2Fm-p%2F1280950%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Enow%20the%20password%20length%20is%20also%20hidden%20%3CIMG%20class%3D%22lia-deferred-image%20lia-image-emoji%22%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Fhtml%2Fimages%2Femoticons%2Fsmile_40x40.gif%22%20alt%3D%22%3Asmile%3A%22%20title%3D%22%3Asmile%3A%22%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

This is a security issue that is out in the wild, though I do not think it is that so severe that it poses a risk to mention it here.

 

The page edge://settings/passwords allows the person in front of the computer to reveal passwords after they convince the browser about their ownership by entering their account's password, or their PIN on that device. That's cool!

 

The problem is, it also displays their actual lengths of the passwords without any proof of ownership! The problem here is two fold:

 

  1. How, even? How is it even able to do that in the first place? I would expect the passwords to be encrypted in such ways that even the browser itself cannot decipher the passwords, nor their lengths, without the private key, which should have been a derivative of the credential that the user should be entering.
  2. A premature hint! Exposing the length of the password is too much of a hint to tell someone who hasn't yet provided their proof of ownership. The browser is reluctant to expose the password as a whole; it asks for an authentication before doing that. Then, why is the browser even giving this piece of hint out? To convince the person in front of the computer that it really has the actual password? Aesthetics?

 

Just now I realized that the auto-fill somehow also enters my password in plain text to the websites, without asking any private key or sorts... I guess then being the person in front of an unlocked computer is enough to get the passwords deciphered (and entered via auto-fill). Then my question is in reverse: What is the point of keeping them censored on edge://settings/passwords at all, if we trust this person so much?

 

Windows in and of itself does not trust so easily: Fire up the "Credential Manager" (type that onto Start menu search). It displays the censored passwords with the dummy length of 8 or something. They are revealed only after authentication. I hope that, without authentication, it does not decipher the passwords nor give them away either. Why does a the browser give in?

 

Could you provide an option on edge://settings/passwords to let us choose to require authentication before auto-filling the passwords? Just like the one that pops up when you hit the "peek" button to reveal the passwords. I personally find the auto-fill as it is kind of insecure. I would rather enter my PIN every time I log in (with cookies, this doesn't happen so frequently anyway), than to have the equivalent of keeping my passwords in a passwords.txt that I hid deep in my Documents.

 

Sincerely,

Utkan

4 Replies
Highlighted

I totally agree,
Edge should make all of the passwords the same length when they are encrypted so their real length won't be known by anyone that doesn't have the correct credentials

Highlighted

@utkangezer 

 

Update:

If an attacker has unrestricted physical access to your computer, they can just convert the password fields to text fields or use DevTools to read them as plaintext.

#LockYourPCs

 

What about unmasking of passwords with the developer tools?

 

One of the most frequent reports we receive is password disclosure using the Inspect Element feature (see Issue 126398 for an example). People reason that “If I can see the password, it must be a bug.” However, this is just one of the physically-local attacks described in the previous section, and all of those points apply here as well.

 

The reason the password is masked is only to prevent disclosure via “shoulder-surfing” (i.e. the passive viewing of your screen by nearby persons), not because it is a secret unknown to the browser. The browser knows the password at many layers, including JavaScript, developer tools, process memory, and so on. When you are physically local to the computer, and only when you are physically local to the computer, there are, and always will be, tools for extracting the password from any of these places.

 

 

 

Why aren‘t physically-local attacks in Chrome’s threat model?

 

People sometimes report that they can compromise Chrome by installing a malicious DLL in a place where Chrome will load it, by hooking APIs (e.g. Issue 130284), or by otherwise altering the configuration of the PC.

We consider these attacks outside Chrome's threat model, because there is no way for Chrome (or any application) to defend against a malicious user who has managed to log into your computer as you, or who can run software with the privileges of your operating system user account. Such an attacker can modify executables and DLLs, change environment variables like PATH, change configuration files, read any data your user account owns, email it to themselves, and so on. Such an attacker has total control over your computer, and nothing Chrome can do would provide a serious guarantee of defense. This problem is not special to Chrome ­— all applications must trust the physically-local user.

There are a few things you can do to mitigate risks from people who have physical control over your computer, in certain circumstances.

  • To stop people from reading your data in cases of device theft or loss, use full disk encryption (FDE). FDE is a standard feature of most operating systems, including Windows Vista and later, Mac OS X Lion and later, and some distributions of Linux. (Some older versions of Mac OS X had partial disk encryption: they could encrypt the user’s home folder, which contains the bulk of a user’s sensitive data.) Some FDE systems allow you to use multiple sources of key material, such as the combination of both a password and a key file on a USB token. When available, you should use multiple sources of key material to achieve the strongest defense. Chrome OS encrypts users’ home directories.
  • If you share your computer with other people, take advantage of your operating system’s ability to manage multiple login accounts, and use a distinct account for each person. For guests, Chrome OS has a built-in Guest account for this purpose.
  • Take advantage of your operating system’s screen lock feature.
  • You can reduce the amount of information (including credentials like cookies and passwords) that Chrome will store locally by using Chrome's Content Settings (chrome://settings/content) and turning off the form auto-fill and password storage features (chrome://settings/search#password).

There is almost nothing you can do to mitigate risks when using a public computer.

  • Assume everything you do on a public computer will become, well, public. You have no control over the operating system or other software on the machine, and there is no reason to trust the integrity of it.
  • If you must use such a computer, use Incognito mode and close all Incognito windows when you are done browsing to limit the amount of data you leave behind. Note that Incognito mode provides no protection if the system has already been compromised as described above.

 

 

Source

and

Source

Highlighted

To reiterate, Edge does not blindly trust the person sitting in front of the computer. It does ask the PIN from the user before showing the password in clear text.

 

However, while it doesn't fully trust the person sitting in front, it apparently trusts them "somewhat". It displays the true length of the password without PIN.

 

I don't see any reason for this "human-like" behavior, where the software (Microsoft Edge) doesn't fully trust or distrust the user, but trusts them "somewhat".