
Este script Python explora o endpoint vulnerável /terminal/ws do marimo e retorna um shell interativo.
Este script Python explora o endpoint vulnerável marimo /terminal/ws e retorna um shell interativo.
COMO USAR : A única alteração que precisa ser feita é mudar a variável HOST no script. Após alterar a variável HOST, execute o script no seu Terminal como no exemplo abaixo:
EXEMPLO DE USO: python3 CVE-2026-39987.py
-- Se o alvo for vulnerável, o shell interativo é iniciado --
Para informações sobre CVE-2026-39987 abra este link -> https://nvd.nist.gov/vuln/detail/CVE-2026-39987
Nota: Se você ainda não tem a biblioteca websocket-client instalada, faça isso primeiro antes de executar o script, caso contrário não funcionará.
instale a biblioteca digitando o comando : pip3 install websocket-client se você receber o erro: " This environment is externally managed ╰─> To install Python packages system-wide, try < your package manager here > install xyz, where xyz is the package you are trying to install. "
#this command creates a folder where you gonna create the venv ( in step 2 )
crie um ambiente virtual digitando o seguinte comando : passo 1 -> mkdir /path/to/venv-folder #this command creates the python venv step 2 -> python3 -m venv /path/to/venv-folder #this command activates the venv step 3 -> source /path/to/venv-folder/bin/activate #this command installs the websocket-client library step 4 -> pip3 install websocket-client
Se você seguiu todos os passos acima, execute o script enquanto o ambiente virtual ainda estiver ativado. para sair do ambiente digite o comando -> deactivate