Sploitus

Exploit for CVE-2023-51467

kitploit · 2026-08-28

Exploit Code

MARKDOWN46 lines
## https://sploitus.com/exploit?id=KITPLOIT:TOOLS-GITHUB-IMUSPIRIT-CVE-2023-51467
# CVE-2023-51467

exp.py geändert zu Befehl Ausführung

## Post.txt

Serialisierungs-Schwachstellen Ausnutzung

## bypassauth.txt

Authentifizierungsumgehungstest

## Schwachstellengrund

Da bei der Authentifizierungsprüfung fälschlicherweise `null` verwendet wurde, um eine Bedingung zu prüfen, hatte diese Methode keine Wirkung, was zur Umgehung der Authentifizierung führte.

root@kitploit:~
    
    
            if (username == null) username = (String) session.getAttribute("USERNAME");
            if (password == null) password = (String) session.getAttribute("PASSWORD");
            if (token == null) token = (String) session.getAttribute("TOKEN");
            if (UtilValidate.isEmpty(username)) username = (String) session.getAttribute("USERNAME");
            if (UtilValidate.isEmpty(password)) password = (String) session.getAttribute("PASSWORD");
            if (UtilValidate.isEmpty(token)) token = (String) session.getAttribute("TOKEN");
    
    
    

## Direkte Befehl AusfĂĽhrung

Jemand hat eine direkte Befehl AusfĂĽhrung analysiert, aber diese erfordert die Umgehung des Groovy-Filters. Oder gibt es einen besseren Einstiegspunkt? rce.txt

root@kitploit:~
    
    
    def process = cmd.execute()
    process.waitFor()
    println "Exit code: ${process.exitValue()}"
    println "Output:\n${process.text}"```
    
    ## Referenzen
    https://github.com/apache/ofbiz-framework/commit/47e7959065b82b170da5c330ed5c17af16415ede#diff-68decfd4946b8ef0adcc4c7f18b938aec4a07ff7ce64609a2691ba88a4688607
    https://mp.weixin.qq.com/s/vdyqfm0FkbKp5W2LilhbXA
    Nicht fĂĽr illegale Zwecke verwenden