Of 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.
Having been involved in meetings where "stop ship" was the phrase of the day, I'd bet money that the following at least vaguely resembles a real conversation: Engineer Alice: We should really fix this properly. Manager: How sure are you that the proper fix won't break something else for $BIG_CUSTOMERS who are responsible for $OBSCENE percent of this product line's revenue? Engineer Bob: Uh, ten percent on a good day?…
Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
101–110 of 322 posts
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#102User agents shouldn't exist any more. They serve only to help unsuspecting users be fingerprinted.
Well, the next best thing is what webkit is doing ( https://webkit.org/blog/8042/release-notes-for-safari-techno... ) by freezing the user agent. So as time goes by the user agent becomes increasingly homogenous and so, less useful for tracking.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#103Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#104Earlier quoted context omitted.
Having been involved in meetings where "stop ship" was the phrase of the day, I'd bet money that the following at least vaguely resembles a real conversation: Engineer Alice: We should really fix this properly. Manager: How sure are you that the proper fix won't break something else for $BIG_CUSTOMERS who are responsible for $OBSCENE percent of this product line's revenue? Engineer Bob: Uh, ten percent on a good day?…
Manager: Bob get to work on the quick fix that will mitigate some of the attacks based on the published exploit to go out within a day, Alice get to work on the correct fix to address the underlying issue to go out in a few weeks when it's fully tested and ready.
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#105User 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
#106I 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
#107Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#108Earlier 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?
Even without --user-agent, you can still pipe 'echo -e "GET ...\rnHost: ... "' through nc, or even telnet. Therefore, we obviously need to patch echo (and all echo shell builtins) to refuse to output strings containing "GET", "POST", "HTTP", or "Host:".
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#109Earlier quoted context omitted.
Having been involved in meetings where "stop ship" was the phrase of the day, I'd bet money that the following at least vaguely resembles a real conversation: Engineer Alice: We should really fix this properly. Manager: How sure are you that the proper fix won't break something else for $BIG_CUSTOMERS who are responsible for $OBSCENE percent of this product line's revenue? Engineer Bob: Uh, ten percent on a good day?…
I've been Engineer Alice before (not with a security issue, but a pretty bad systems issue). In case anyone is ever in that situation, here are some more productive replacements for that existential sigh (in that they sometimes work). Choose the one most suited to manager's biases. The cliches are important: think of it as giving manager an easy way to explain it to their manager. > Yes, but that would only help with…
Re: Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” in User-Agent
#110Earlier quoted context omitted.
I've been Engineer Alice before (not with a security issue, but a pretty bad systems issue). In case anyone is ever in that situation, here are some more productive replacements for that existential sigh (in that they sometimes work). Choose the one most suited to manager's biases. The cliches are important: think of it as giving manager an easy way to explain it to their manager. > Yes, but that would only help with…
No! The answer is an unequivocal “No“, without any „but“s or anything like that. The fix does not fix the problem, it is not even a fix, just a wrong code change that sets out to do something but does not achieve it. Answering „yes“ is a lie here. This is different from a fix that fixes the problem in an ugly way, where „yes, but...“ is applicable.
[1] The incompetent ones, of which there are many.