frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

New Sturnus Banking Trojan Targets WhatsApp, Telegram, Signal Messages

https://www.securityweek.com/new-sturnus-banking-trojan-targets-whatsapp-telegram-signal-messages/
1•Bender•2m ago•0 comments

Show HN: Storytel-Player – A clean, fast, minimal desktop player for audiobooks

https://github.com/debba/storytel-player
1•debba•2m ago•0 comments

Airlines to ban use of lithium power banks

https://www.abc.net.au/news/2025-11-21/airlines-virgin-australia-qantas-ban-power-banks/106033982
1•mryall•5m ago•0 comments

Comic Code Reviews

https://www.jona.ca/2025/11/comic-code-reviews.html
1•JonathanAquino•5m ago•1 comments

Triton Data Center

https://github.com/TritonDataCenter
1•robertlagrant•5m ago•1 comments

Show HN: Mgrep – A Semantic, Multimodal Grep

https://github.com/mixedbread-ai/mgrep
1•breadislove•7m ago•0 comments

Experts urge canceling fossil fuel contracts to meet Paris climate goals

https://phys.org/news/2025-11-experts-urge-canceling-fossil-fuel.html
1•gpi•9m ago•0 comments

Shuffle: Making Random Feel More Human

https://engineering.atspotify.com/2025/11/shuffle-making-random-feel-more-human
1•preetamjinka•9m ago•0 comments

It's the 'most important fish in the sea.' And it's disappearing

https://www.washingtonpost.com/opinions/2025/11/20/menhaden-fishing-caps-atlantic-reduction/
1•diogenes_atx•10m ago•1 comments

Windows is getting hardware-accelerated BitLocker in 2026

https://www.windowscentral.com/microsoft/windows-11/microsoft-is-making-a-major-change-to-bitlock...
1•pregnenolone•11m ago•0 comments

South Korea to build nuclear-powered subs in U.S., Trump says

https://www.japantimes.co.jp/news/2025/10/30/asia-pacific/south-korea-us-nuclear-powered-submarines/
1•PaulHoule•12m ago•1 comments

How to fix a typewriter and your life

https://www.nytimes.com/interactive/2025/11/20/us/typewriter-repair-seattle-bremerton.html
1•ripe•12m ago•0 comments

NIH Directors: The World Needs a New Pandemic Playbook

https://www.city-journal.org/article/nih-jay-bhattacharya-covid-pandemic-lab
2•bilsbie•13m ago•1 comments

Practical Common Lisp (2006) [video]

https://www.youtube.com/watch?v=4NO83wZVT0A
1•swatson741•13m ago•0 comments

Redux Critique

https://www.considered-harmful.info/redux/
1•psea•14m ago•0 comments

Up to 1.77M Ukrainians Killed in the War: Forensic Calculations

https://aaronlee.substack.com/p/between-913000-and-1770000-ukrainians
1•aajailee•15m ago•0 comments

(How AI Forced Me to) Relearning how to write: From 3 Fingers to 10

http://blog.dominikrudnik.pl/relearning-how-to-write-from-3-fingers-to-10
1•qikcik•15m ago•0 comments

Musings About Emulating ZX Next

https://solhsa.com/oldernews2025.html#MUSINGS-ABOUT-EMULATING-ZX-NEXT
1•ibobev•16m ago•0 comments

DivX

https://en.wikipedia.org/wiki/DivX
1•doener•21m ago•0 comments

I Built a Lightweight Alternative to VWO for A/B Testing

https://abify.app
2•iraklik•21m ago•1 comments

The Varying Strictness of TypedDict

https://snarky.ca/the-varying-strictness-of-typeddict/
2•ingve•21m ago•0 comments

GoAccess: Visual web log analyzer, in C, in the terminal

https://goaccess.io/
1•fanf2•22m ago•0 comments

Tinnitus Is Somehow Linked to a Crucial Bodily Function

https://www.sciencealert.com/tinnitus-is-somehow-linked-to-a-crucial-bodily-function
1•amichail•23m ago•0 comments

Everybody's Album – Creating the next #1 Album

https://everybodysalbum.com
1•bcye•23m ago•0 comments

Our Depressing Vaccine Future Laid Bare on the CDC Website

https://www.nytimes.com/2025/11/20/opinion/cdc-autism-vaccine-website.html
2•doener•23m ago•0 comments

Newly unsealed documents tie Deel to payments for alleged Rippling spy

https://www.calcalistech.com/ctechnews/article/h1ysgtng11l
1•tylertreat•26m ago•1 comments

What was your favourite Amiga magazine?

https://old.reddit.com/r/amiga/comments/1p26f5u/what_was_your_favourite_magazine/
1•doener•26m ago•0 comments

GitHut – Programming Languages and GitHub

https://githut.info/
11•tonyhb•30m ago•6 comments

Closest Harmonic Number to an Integer

https://www.johndcook.com/blog/2025/11/19/closest-harmonic-number-to-an-integer/
2•ibobev•31m ago•0 comments

Cool Banana 2.0 (featuring the new Gemini 3 Pro Image)

https://gerry7.itch.io/cool-banana
1•jaggs•32m ago•1 comments
Open in hackernews

CRLF Injection in `–proxy-header` allows extra HTTP headers (CWE-93)

https://hackerone.com/reports/3133379
11•oblivionsage•6mo ago

Comments

blueflow•6mo ago
Check the man-page first. You need to know how a program is supposed to behave before you can know that an observed behavior is off-spec and warrants a bug.
robertlagrant•6mo ago
I don't understand the "This is not supposed to happen". Can someone explain?

To me this is the same as

  --proxy-header "X-Test: hello" --proxy-header "X-Evil: owned"
flotzam•6mo ago
Imagine running

  curl --proxy-header "X-Test: $UNTRUSTED_USER_INPUT"
wang_li•6mo ago
That is not a bug in curl, at most it's a bug in whatever gathered $UNTRUSTED_USER_INPUT.
flotzam•6mo ago
People still expect an API to reject illegal values. Calling the parameter --proxy-header (singular) could lead someone to assume that multiline strings are illegal values, even if there's a note in the docs somewhere saying otherwise.
blueflow•6mo ago
Then the people assuming random things without doing research are to blame, not curl.
flotzam•6mo ago
Apportioning blame doesn't get rid of bugs; misuse resistant APIs do.
blueflow•6mo ago
Reading docs ("research") is essential part of engineering.

Lets ask the question reversed: How did people know in the first place what kind of string they need to give to --proxy-header?

flotzam•6mo ago
> Reading docs ("research") is essential part of engineering.

Sure, but so is safety engineering. Making mechanisms more obvious to use correctly or fail safe if used incorrectly improves outcomes when flawed human beings use them. It also makes them more pleasant to use in general.

Besides, look at the man page in question. It's talking about this in terms of encoding niceties and doesn't even spell out the possibility of deliberate, let alone malicious multiline values:

"curl makes sure that each header you add/replace is sent with the proper end-of-line marker, you should thus not add that as a part of the header content: do not add newlines or carriage returns, they only mess things up for you."

That's inducing a wrong/incomplete mental model of how this parameter works.

blueflow•6mo ago
> doesn't even spell out the possibility of deliberate, ... multiline values

It does for me, as any kind of extra newlines results in a multi-line string.

> ... malicious ...

Like Daniel said, garbage in, garbage out. If you pass user inputs to curl, one should check what curl does with these values and take proper care.

robertlagrant•6mo ago
> do not add newlines or carriage returns, they only mess things up for you

I disagree, but I would say that curl might as well add this as a validation check than a documentation warning.

blueflow•6mo ago
This is explained in the ticket:

  One of the reasons we still allow that is that this "feature" was used quite deliberately by users in the past and I have hesitated to change that for the risk that it will break some users use cases.
robertlagrant•6mo ago
Yes, I'm not sure if I agree with this or not. Those users don't have to upgrade. But obviously I'm not maintaining a key tool for the world. It's just my opinion.
soraminazuki•6mo ago
One shouldn't construct shell commands from untrusted user input in the first place unless they know exactly what they're doing and is aware of all the pitfalls. It's the worst possible tool to be using if the aim is to avoid security issues with minimal effort. Debating about this particular curl quirk distracts from the bigger issue IMO.
robertlagrant•6mo ago
> That is not a bug in curl, at most it's a bug in whatever gathered $UNTRUSTED_USER_INPUT.

But that could just contain the bad header only, could it not?

jeroenhd•6mo ago
I suppose it kind of depends. I agree with the curl team here that this is a case of garbage in/garbage out, but I can imagine this going wrong with a binary protocol like HTTP2 on the front and a text protocol like HTTP 1.1 behind a reverse proxy. The \r\n will make it to the proxy as a separate header, but will be turned into two headers on the upstream.

That said, this would be a (reverse) proxy vulnerability, not one in curl.

ale42•6mo ago
I'm not sure where is the security issue here. As already noted, one can just put several --proxy-header arguments, so the functionality is equivalent.

The only way this would do something unexpected (and not necessarily dangerous besides breaking the service) would be if the curl command would be used in a scenario like: (1) curl is used by some script to access some API or other URL, (2) a user can configure the script to give a specific value to an header, let's say an authentication token or similar, but the user can't directly alter the curl command (e.g. because they can only change URL and TOKEN with a web interface). Here the user would be able to add an header IF the script is not properly sanitizing the input (so the supposed security issue IMHO would be in the script), but if adding an additional header breaks security, the underlying system has a problem too...

In a very far-stretched scenario, one can possibly add two CRLFs and have the rest of the header (if any) considered by the server as data. IF the request is a POST/PUT/... request, and IF the server returns (or allows later access to) the data, and IF the attacker manipulating the supposedly-restricted single-header can see the output of the call (or retrieve the saved data), then we'd have an information disclosure issue. Would it disclose anything sensitive? Not sure, unless there's an auth token or something AFTER the header. And again, I'd rather incriminate the curl caller for not sanitizing the input if this happens.