Paper/Archive/CVE-2022-32207

CVE-2022-32207

Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP — When curl < 7.84.0 saves cookies, alt-svc and hsts data to local files, it makes the operation atomic by finalizing the operation with a…

Description · from the CVE record

When curl < 7.84.0 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.

Affected

ProductAffectedFixed inSource
https://github.com/curl/curlFixed in 7.84.0–CNA
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP
SINAMICS PERFECT HARMONY GH180all versions–siemens-SADP
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 – < V3.1.5V3.1.5siemens-SADP

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refhackerone.com/reports/1573634advisorylists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BEV6BR4MTI3CEWK2YU2HQZUW5FAS3FEYadvisorydebian.org/security/2022/dsa-5197refsecurity.netapp.com/advisory/ntap-20220915-0003refsupport.apple.com/kb/HT213488refseclists.org/fulldisclosure/2022/Oct/41refseclists.org/fulldisclosure/2022/Oct/28advisorysecurity.gentoo.org/glsa/202212-01refcert-portal.siemens.com/productcert/html/ssa-419740.htmlrefcert-portal.siemens.com/productcert/html/ssa-558014.htmlrefcert-portal.siemens.com/productcert/html/ssa-942865.htmlrefcert-portal.siemens.com/productcert/html/ssa-146325.htmlrefcert-portal.siemens.com/productcert/html/ssa-398330.html