Re:Ask HN: What prevents the following vulnerability I found...
by vitalipom on Tuesday January 21, 2025 @02:00PM
(#42783961)
A bit loss of context. Angular was mentioned in the context of how servers serve Angular apps: if instead of server index.html server would serve a different whole url.
And my worries are mainly due to the solution I proposed (as a patent(!)) and later on abandoned.
I am wondering whether to invest in this my time and furthermore additional money.
Re:Ask HN: What prevents the following vulnerability I found...
by fragmede on Tuesday January 21, 2025 @02:10PM
(#42784078)
Angular can't change the underlying domain name. Instead of http://example.com/index.html it can change to eg http://example.com/bank.com.html as the URL, but it'll still have "example.com".
If the attacker's already convinced you to give them your username/password (and 2fa), why bother showing the victim a fake (Angular) website?
A password manager/passkey/yubikey protects against this by checking that the url is bank.com and not malicious-bank.com, but unsophisticated users fall for this attack every day.