Closed3
CVE-2023-21036 "aCropalypse" 関連
Pixel Update Bulletin—March 2023
CVE: CVE-2023-21036
References: A-264261868
Type: ID(Information disclosure)
Severity: High
Subcomponent: Markup
技術情報
- https://twitter.com/ItsSimonTime/status/1636857478263750656
- Exploiting aCropalypse: Recovering Truncated PNGs
直接原因
Undocumented behavior change in Android 10: mode "w" no longer truncates
There's an undocumented (as far as I can tell) behavior change in Android 10 when using mode
"w"
withParcelFileDescriptor.parseMode
.Android 9 and below
Using mode"w"
and writing to a file that already exists truncates the file, completely overwriting it.Android 10 and above
Using mode"w"
and writing to a file that already exists no longer truncates the file being overwritten. This can result in a corrupt file if the new file is smaller than the old file.
技術デモ
このスクラップは5ヶ月前にクローズされました