Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2022-3368 PoC — Avira Security 安全漏洞

Source
Associated Vulnerability
Title:Avira Security 安全漏洞 (CVE-2022-3368)
Description:Avira Security是德国Avira公司的一个软件套件。包括防病毒保护、防勒索软件保护等。 Avira Security for Windows 1.1.72.30556之前版本存在安全漏洞,该漏洞源于软件更新程序功能允许对文件系统具有写入权限的攻击者在某些情况下提升权限。
Readme
# CVE-2022-3368

PoC for arbitrary file move vulnerability in Software Update component of Avira Security.
Users have option to use this feature to update any outdated software on their PC ,when this feature is used Avira Security service will drop downloaded files in c:\ProgramData\Avira\Security\Temp. First file that is created in subdirectory is in format <random 4 numbers>_\<filename> then later this file is moved to just \<filename> (leading numbers and underscore are removed).This directory have DACL's that dont allow unprivileged users to modify/delete newly created files  but  it will allow user to create junction. This can abused by creating junction point to user controlled directory which have more permissive DACL's , this way when new files are created in subdirectories user will be able to modify them and leverage it to obtain arbitrary file move which leads to LPE by writing dll in system32 directory that is later loaded by privileged service.

Current PoC will load dll in windows update service, dll dont implement any kind of mutex to check if exploit was already executed which result in creating multiple cmd.exe process as dll is loaded multiple times.



https://user-images.githubusercontent.com/44291883/196391684-c3399f9e-6add-407f-aee0-0f548b48582c.mp4



# Advisory 

https://support.norton.com/sp/static/external/tools/security-advisories.html

https://cve.report/CVE-2022-3368

File Snapshot

[4.0K] /data/pocs/800309bc35b5c6bb9575b2833df77c4f4f2bd3ec ├── [4.0K] Project3 │   ├── [2.3K] def.h │   ├── [569K] dll.h │   ├── [4.3K] FileOplock.cpp │   ├── [1.0K] FileOplock.h │   ├── [ 11K] main.cpp │   ├── [1.4K] Project3.sln │   ├── [6.7K] Project3.vcxproj │   ├── [1.3K] Project3.vcxproj.filters │   └── [ 168] Project3.vcxproj.user └── [1.4K] README.md 1 directory, 10 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.