Lucene search

K
hackeroneNyymiH1:1614331
HistoryJun 27, 2022 - 7:07 a.m.

Internet Bug Bounty: CVE-2022-32207: Unpreserved file permissions

2022-06-2707:07:21
nyymi
hackerone.com
$2400
41

0.003 Low

EPSS

Percentile

69.7%

When curl saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a rename from a temporary name to the final target file name.

In that rename operation, it might accidentally widen the permissions for the target file, leaving the updated file accessible to more users than intended.

Impact

Information disclosure (cookie file in specific)