目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2024-27674 PoC — Macro Expert 安全漏洞

来源
关联漏洞
标题: Macro Expert 安全漏洞 (CVE-2024-27674)
Description:Macro Expert是Macro Expert公司的一款机器人过程自动化软件。 Macro Expert 4.9.4及之前版本存在安全漏洞,该漏洞源于允许访问 GrassSoftMacro Expert 文件夹,非特权用户可以将 MacroService 升级到 SYSTEM .exe 二进制文件。
Description
Macro Expert <= 4.9.4 - Insecure Permissions Privilege Escalation
介绍
# CVE-2024-27674
Macro Expert &lt;= 4.9.4 - Insecure Permissions Privilege Escalation

### Description:
Insecure Permissions vulnerability in Macro Expert 4.9.4 and versions below allows a local unprivileged attacker to execute arbitrary code as SYSTEM via a crafted script by replacing the MacroService.exe binary existing within a controllable path.

### Impacted service(s)
servicename: Macro Expert

Path permission: c:\program files (x86)\grasssoft\macro expert

### ACL Permissions
```
C:\>icacls "C:\Program Files (x86)\GrassSoft\Macro Expert"
C:\Program Files (x86)\GrassSoft\Macro Expert BUILTIN\Users:(OI)(CI)(M)
                                              NT SERVICE\TrustedInstaller:(I)(F)
                                              NT SERVICE\TrustedInstaller:(I)(CI)(IO)(F)
                                              NT AUTHORITY\SYSTEM:(I)(F)
                                              NT AUTHORITY\SYSTEM:(I)(OI)(CI)(IO)(F)
                                              BUILTIN\Administrators:(I)(F)
                                              BUILTIN\Administrators:(I)(OI)(CI)(IO)(F)
                                              BUILTIN\Users:(I)(RX)
                                              BUILTIN\Users:(I)(OI)(CI)(IO)(GR,GE)
                                              CREATOR OWNER:(I)(OI)(CI)(IO)(F)
                                              APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(RX)
                                              APPLICATION PACKAGE AUTHORITY\ALL APPLICATION PACKAGES:(I)(OI)(CI)(IO)(GR,GE)
```

### Attack Vector
Files in this path can be modified by unprivileged users, malicious process and/or threat actor.
And the service "Macro Expert" which runs under SYSTEM context, will invoke the "MacroService.exe" in this directory.
If a malicious user replaces the executable named "MacroService.exe" within this directory, the service will inadvertently execute these malicious binaries upon reboot, running them with SYSTEM privileges.

#### Discovered by: 
Alaa Kachouh
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →