News for hackers. Stuff that matters.
Re:Ask HN: What prevents the following vulnerability I found... by fragmede on Tuesday January 21, 2025 @01:11PM (#42783377)
That's a regular MitM attack, just with, specifically, Angular. If you can convince someone to go to malicious-bank.com and log into it with their real credentials, you've successfully phished them. If you go a step further and show them the real information from the real website, thats going a step further, but by then it's game over already.

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.

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".
Re:Ask HN: What prevents the following vulnerability I found... by vitalipom on Tuesday January 21, 2025 @02:37PM (#42784335)
Again, I haven’t yet tested it. But I’d like to hear what community has to say with relevance to that about my direction with the solution I’d been working on.