Lucene search

K
hackeroneDfandrichH1:2437131
HistoryMar 27, 2024 - 6:16 p.m.

Internet Bug Bounty: Usage of disabled protocol in curl

2024-03-2718:16:37
dfandrich
hackerone.com
$560
37
bug bounty
curl
protocol selection
disabled protocol
security flaw
request security
low severity

7.1 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

10.4%

When a protocol selection parameter option disables all protocols without adding any then the default set of protocols would remain in the allowed set due to an error in the logic for removing protocols. The below command would perform a request to curl.se with a plaintext protocol which has been explicitly disabled.

curl --proto -all,-http http://curl.se

The flaw is only present if the set of selected protocols disables the entire set of available protocols, in itself a command with no practical use and therefore unlikely to be encountered in real situations. The curl security team has thus assessed this to be low severity bug.

Impact

Requests can be sent on an unencrypted link even though the application explicitly disabled that.