Earlier quoted context omitted.
How? Do you think developers would be so crazy as to add some sort of "--user-agent" option to software like curl that would cause arbitrary strings to be presented as the user agent? Why would somebody write software to do this, just go on the internet and tell lies?
I thought all this security nonsense ended in the 90s when they introduced the IS-MALICIOUS-REQUEST header. It must be, because I haven't seen any web traffic declaring itself malicious since then.
Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
31–40 of 322 posts
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#32I don't see what the fuss is about. This is an effective mitigation, given that software can't just arbitrarily lie about its user agent.
This is quite funny
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#33User agents shouldn't exist any more. They serve only to help unsuspecting users be fingerprinted.
They help you figure out if a user agent wants a mobile view of a page without Javascript... which is pretty useful.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#34Source says they also did some input sanitizing along with blocking curl, and they had to make a new PoC to get around that. If I'm reading that right then this isn't really an issue, nothing wrong with defense in depth. Edit: >The update adds several filters to handle single quotes in user input. However, these filters can be evaded by specially crafted inputs. By providing the following string for the certificate's…
The equivalent of a "pls dont hack" sign is not defense in depth. Good to know they at least half fixed the problem, I guess. But that's not enough, and they should be capable of testing this.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#35User agents shouldn't exist any more. They serve only to help unsuspecting users be fingerprinted.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#36Earlier quoted context omitted.
Rubbish. They are incredibly useful for debugging.
There are better solutions available than hanging functionality on unreliable vestigial bits and pieces that shouldn't be there anyway which, because others abuse the functionality, you can't trust to be correct for debugging purposes.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#37Source says they also did some input sanitizing along with blocking curl, and they had to make a new PoC to get around that. If I'm reading that right then this isn't really an issue, nothing wrong with defense in depth. Edit: >The update adds several filters to handle single quotes in user input. However, these filters can be evaded by specially crafted inputs. By providing the following string for the certificate's…
-"common_name=a'\$(ping -c 4 192.168.1.2)'b"
+"common_name='a\$(ping -c 4 192.168.1.2)'b"
and POST instead of GET (and kurl as the UA, of course).Does their fix specifically check for injection starting with `a'` ? And only works for GET requests? Mind-boggling...
Edit: The new exploit also targets https instead of http. I would've said that surely that would not make a difference, but given what's already happened I'm not sure.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#38I don't see what the fuss is about. This is an effective mitigation, given that software can't just arbitrarily lie about its user agent.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#39Earlier quoted context omitted.
They help you figure out if a user agent wants a mobile view of a page without Javascript... which is pretty useful.
We don't need user agents for that. There's an easy way to tell whether a visitor wants a cleaner view of a page, without Javascript: Yes.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#40Of all the security post-mortems I’ve ever wanted to read, it’s sad I’ll probably never get to read this one and its tale of how a team of well-paid comfortable engineers got together and decided this patch was a good idea.
Test-driven development