News for hackers. Stuff that matters.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Wednesday March 27, 2019 @08:52PM (#19507997)
I 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” i... by teraflop on Wednesday March 27, 2019 @08:56PM (#19508033)
I guess the biggest problem is that the mitigation isn't future-proof. Someday, there might be other command-line tools besides cURL that can be used for this kind of attack.

A better fix would be to just drop all incoming IPv4 packets that have the "evil" bit set. (https://www.ietf.org/rfc/rfc3514.txt) Extending this protection to IPv6 is left as an exercise for the reader.

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Wednesday March 27, 2019 @09:01PM (#19508069)
Ah, but what about packets that aren't evil, just gullible and manipulated by some third party?
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by wincy on Wednesday March 27, 2019 @10:16PM (#19508541)
Well if you’d read the RFC it’s obvious it’s your routers responsibility to flag those bits as evil. And if you’re using heuristic intrusion detection systems you need to do flag each bit as evil 50% of the time. It’s good we have such amazing protections in place.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by dvhh on Wednesday March 27, 2019 @10:14PM (#19508528)
Then add a "tainted by evil" flag to the ipv7 spec, or better, just add a "pure" flag to future ip spec.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Thursday March 28, 2019 @06:06AM (#19510747)
I think I'd almost prefer an "alignment" flag, so we don't mischaracterize all the Chaotic Neutral packets.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by dvhh on Thursday March 28, 2019 @08:44PM (#19518126)
But then what to do with the Lawful Evil packets ?
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by webninja on Friday March 29, 2019 @03:39PM (#19524878)
Add an x-Lawful-Warrant parameter to provide a warrant. It can’t be read by anything but the best AI technology and is included in every HTTP request. No warrant, no response!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by shmerl on Wednesday March 27, 2019 @11:20PM (#19508912)
It's not like curl can't easily spoof a user agent either.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by kevin_thibedeau on Thursday March 28, 2019 @12:15AM (#19509192)
We can claim the LSB of the sequence number.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by jniedrauer on Wednesday March 27, 2019 @09:12PM (#19508140)
I think you should have added a /s tag... some people don't get jokes unless you hit them over the head with it.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Wednesday March 27, 2019 @09:16PM (#19508172)
I will never stoop so low as to telegraph my own joke.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by labster on Thursday March 28, 2019 @12:05AM (#19509144)
I couldn't agree more. The joke construction was a bit weak though, when you miss a good part of the audience. Add something like, "I mean, could you imagine the chaos it would cause if IE told websites it was really Mozilla?" and you demonstrate mastery of the subject matter, which should be enough to let other experts know you were facetious rather than ignorant. Unless you have timing issues... or need the comedian's plausible deniability.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Thursday March 28, 2019 @06:09AM (#19510764)
I don't find that as funny, I think making the sarcasm more obvious makes the joke less funny as well. I prefer to take my chances than to go overboard and neuter the joke.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by shhehebehdh on Thursday March 28, 2019 @12:28AM (#19509255)
I like the original more without your embellishment. The addition sounds like every attempt at follow up humor on reddit.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by labster on Thursday March 28, 2019 @02:15AM (#19509706)
Yeah but it's not Reddit, it's HN. You have to know your audience, read the crowd. On Reddit it's 90% sarcasm so there's no fixing it. Here it's the reverse and people take things seriously without a tell. You just have to bury the tell in another joke or it will ruin the funny.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by Dylan16807 on Thursday March 28, 2019 @03:22AM (#19510033)
"given that software can't [ridiculous thing no one has ever claimed]" is plenty for a tell.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by Aeolun on Thursday March 28, 2019 @09:12AM (#19511820)
Just the fact that this “fix” exists tells you some people believe differently.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by rujuladanh on Thursday March 28, 2019 @05:10AM (#19510505)
If you can’t discern the joke, the joke isn’t for you to begin with; so it doesn’t matter.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by kowdermeister on Thursday March 28, 2019 @09:32AM (#19511992)
Sir, your assessment of this particular joke is excellent. We should start a joke approval committee to avoid further confusion.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by craftinator on Thursday March 28, 2019 @02:12PM (#19514932)
Yes, very well, as first action of the Joke Approval Committee, I propose that this august body instantiate the Recursed Approval Subcommittee, whose role will be to instantiate the Recursed Approval Subcommittee.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by kowdermeister on Thursday March 28, 2019 @02:20PM (#19515016)
That's a perfect example you should post to JAC before. It would not pass, please never post this "joke" again.

Welcome on board :)

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by craftinator on Thursday March 28, 2019 @10:35PM (#19518662)
As soon as the subcommittees hit their break condition (0), they'll break for coffee and donuts, and I can submit my "joke" to the JAC. And I don't make a habit of repeatedly posting the same joke, but I cannot make the promise in this case.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by labster on Thursday March 28, 2019 @06:20PM (#19517207)
It puts the motion in the basket.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by thayne on Wednesday March 27, 2019 @11:11PM (#19508859)
In textualform, sarcasm and ignorance look the same. otoh, it can sometime be quite funny to see responses from people that take it seriously...
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by dmix on Thursday March 28, 2019 @01:21AM (#19509490)
I've never posted sarcasm online without at lease one person (that guy) who takes it seriously and decides to reply. But I think it's worth it because the people who get it will get it. If a small group doesn't then who cares (if everyone doesn't then you did a bad job constructing a joke).
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by wyldfire on Wednesday March 27, 2019 @10:24PM (#19508596)
Then you must encounter Poe's Law frequently....?
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Thursday March 28, 2019 @10:43AM (#19512642)
All the time. After having seen the kinds of things some people will say in earnest, I will never begrudge someone missing my sarcasm.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by lxe on Wednesday March 27, 2019 @09:05PM (#19508095)
Exactly. Hacking your client to use another user-agent or another IP address is illegal under CFAA. See Craigslist Inc. v. 3Taps Inc. etc...
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by gonesilent on Thursday March 28, 2019 @12:21AM (#19509222)
So when I check desktop site in chrome I'm hacking?
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by chii on Thursday March 28, 2019 @04:02AM (#19510231)
Of course! So is right clicking and selecting inspect element to modify the page!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by Tepix on Thursday March 28, 2019 @05:58AM (#19510710)
That's why super secure websites block right-click events on their webpage. Makes them unhackable!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by chronogram on Thursday March 28, 2019 @05:03AM (#19510476)
I would call it hacking.. you sometimes run into those websites with 50 different opacity bits for all their web app things, and you don’t want to deal with all that rubbish so you set a “opacity: 1 !important” and the whole website looks off but it’s finally useable. I’d call that a hack.

Or also when you run into those websites designed on a $2000 screen that thinks it’s tres moderne to use 808080 text, so you “hack” it into readable text.

I think those are all happy little hacks :-)

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by webninja on Friday March 29, 2019 @03:22PM (#19524715)
Actually you can use -A to change the user agent in Curl itself. For example:

  curl -A "YourNewUserAgentString” http://url.com
Furthermore, there are free plugins or add-ons for both Chrome and Firefox that let you change the user agent and say you’re using IE, a mobile browser, a google bot, or anything you want the user agent string to say.

Most programmers should be able to write a small script using Python’s urllib or urllib2 to do a basic PUT or GET request with any User Agent. Heck, just type “change user agent python urllib” into google, click on the first stack overflow link, and copy/paste the answer. You can use Go, ruby, java, nodeJS, or PHP instead as well.

Edit: Maybe your comment was sarcasm :)

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Friday March 29, 2019 @06:13PM (#19526120)
> Edit: Maybe your comment was sarcasm :)

I still appreciate you putting in the effort to explain. Have an upvote!

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by dvhh on Wednesday March 27, 2019 @10:11PM (#19508513)
I have to fix my sarcasm detection AI again because of this comment
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Thursday March 28, 2019 @06:13AM (#19510785)
You're welcome!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by Macross8299 on Wednesday March 27, 2019 @09:24PM (#19508222)
Exactly, once they roll out the patch with a boolean OR in the conditional as '$http_user_agent ~* "wget"', it'll pretty much be hack proof!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by fixermark on Thursday March 28, 2019 @09:13AM (#19511825)
It does seem so obviously simple to sidestep that it makes me wonder if they pushed it because they had an active attack they believed it would mitigate. Were they concerned that the attack was already baked into some automated script in the wild and this could perhaps at least trip up the script long enough for them to engineer a real fix?

Scripted attacks can of course be modified too, but it still takes more than zero human effort to do it.

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by Pxtl on Thursday March 28, 2019 @01:14AM (#19509459)
Well, they can, but first they have to flip the RFC3514 "Evil" bit.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by Anarch157a on Thursday March 28, 2019 @10:33AM (#19512555)
Curl can, easily. Curl is not just a client to get a file and pipe it to other programs, it's a diagnostic tool, and it has all sorts of parameters to help it simmulate all kinds of interaction with a webserver, including the -A parameter to change the user-agent, this is why this 'fix' is so stupid.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Thursday March 28, 2019 @10:42AM (#19512640)
I see, thank you for the explanation!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by Sharlin on Thursday March 28, 2019 @11:39AM (#19513258)
Well played, sir.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Thursday March 28, 2019 @11:45AM (#19513323)
It was nice of them to explain it, though, in case I meant it seriously!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by stevefan1999 on Wednesday March 27, 2019 @09:07PM (#19508107)
This is quite funny
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Wednesday March 27, 2019 @09:21PM (#19508198)
I am not laughing one bit let me tell you. Honesty in user agents is one of the last few defenses we have against hackers running rampant on the internet and turning it into some lawless wasteland where people don't even answer truthfully about their A/S/L.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by jdsully on Wednesday March 27, 2019 @09:26PM (#19508234)
> "A/S/L"

I have not seen that in a long time.

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Wednesday March 27, 2019 @09:29PM (#19508249)
I guess American Sign Language isn't as widespread as it used to be, now that everyone just texts all day anyway.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by PinkMilkshake on Friday March 29, 2019 @12:32AM (#19519172)
They might be able to fix it by making the only valid user agent “not-curl-honest”.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by delfinom on Thursday March 28, 2019 @10:56AM (#19512764)
curl -A "iswearimnotcurl" <exploit>
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by frjalex on Wednesday March 27, 2019 @10:07PM (#19508489)
libcurl is open source, I would imagine it'd not be difficult to make it "lie."
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by anyfoo on Wednesday March 27, 2019 @10:17PM (#19508554)
Someone who also did not get the joke is going to read your comment, and suggest that libcurl being closed source somehow fixes the problem.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by da_chicken on Thursday March 28, 2019 @08:02AM (#19511317)
(Hint: the curl command already has a --user-agent parameter which allows the user to set the user agent string.)
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by abraae on Wednesday March 27, 2019 @08:55PM (#19508015)
Eh? Software can do exactly that.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Wednesday March 27, 2019 @08:56PM (#19508031)
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?
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by faitswulff on Wednesday March 27, 2019 @09:01PM (#19508064)
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.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by ezoe on Wednesday March 27, 2019 @09:19PM (#19508184)
I believe most devices implemented now 11 years old RFC 3514. So evil packets and non-evil packets can be easily distinguished.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by anyfoo on Wednesday March 27, 2019 @10:26PM (#19508614)
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” i... by zrm on Thursday March 28, 2019 @03:04AM (#19509918)
> Therefore, we obviously need to patch echo (and all echo shell builtins) to refuse to output strings containing "GET", "POST", "HTTP", or "Host:".

Unfortunately it is also possible to do this using file redirection or to write a new program that will make a TCP connection and send arbitrary data through it, making it necessary to do the same for all editors, compilers and interpreters.

That sounds like a lot of work though (there are many such programs), so maybe we ought to just patch the kernel to prohibit any of those strings from being written to a file descriptor. There can't be that many false positives.

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by ezoe on Thursday March 28, 2019 @04:02AM (#19510233)
Why stop there? The user can easily modify the kernel to disable such prevention measures for malicious usage.

We must have a regulation to require a hardware level detection and prevention features of curl which all hardware vendors must follow.

Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by asynch8 on Thursday March 28, 2019 @05:56AM (#19510698)
oh god stop some politician might see this and take you for being srs
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by craftinator on Thursday March 28, 2019 @02:19PM (#19515001)
But users have fingers, which can be used to disable or subvert said "features". Thus, those fingers are just gonna have to go. They're a security risk, and security risks are against the regulations.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by colordrops on Thursday March 28, 2019 @01:17AM (#19509477)
Ooh boy I'm imagining some bureaucratic version of an operating system that uses this sort of security up and down the entire stack like some rube Goldbergian contraption to whack a mole a particular vulnerability. Like an operating system designed by doctor Seuss.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by maxaf on Wednesday March 27, 2019 @09:09PM (#19508124)
Your downvoters are terrible at detecting satire.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by StavrosK on Wednesday March 27, 2019 @09:13PM (#19508147)
I know, that top comment has been a rollercoaster, +6, +2, 0, -3, -1, 2, and so on.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by lhuser123 on Wednesday March 27, 2019 @10:06PM (#19508486)
Thanks. I needed that laugh.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by TheCraiggers on Wednesday March 27, 2019 @09:02PM (#19508075)
While that's probably technically feasible, that sounds like something only a terrorist would do anyway. All the more reason to ban the entire program, I say!
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by sbmassey on Thursday March 28, 2019 @08:26AM (#19511470)
Only software developers with no honour would ever do that.
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by arcticbull on Wednesday March 27, 2019 @08:55PM (#19508020)
Pretty sure that was sarcasm haha
Re:Cisco Fixes RV320/RV325 Vulnerability by Banning “curl” i... by ReptileMan on Wednesday March 27, 2019 @10:18PM (#19508559)
And it is also very good that regexes are simple, unambiguous, easy to debug and their engines are heavily scrutinized that no code execution/undefined behavior is possible.