# MAQUINA RAY PROJECT CVE 2023 6019 (COMMANDO INJECTION RAY PROJECT)

Enumeración de puertos con nmap.

![](/files/yeavcSe1fLPxrDVK0tJq)

Luego realice un reconocimientos de estos puertos con scripts de nmap para verificar sus servicios y sus versiones.

![](/files/lCCgeVWXaDdzINklxYJe)

Al tener varios servidores web en la maquina verifique cada uno, el mas interesante es el puerto 9000.

![](/files/VzCLCMSBqlILwitNtmPo)

![](/files/9l4OGqHYmbr9r8q2wWev)

A esta web le realice un escaneo de directorios con gobuster.

![](/files/FYOX8F9eubSVAanMl0Rs)

Revisando cada uno, el directorio logs contiene algunos archivos interesantes donde en uno de ellos contiene la versión del software.

![](/files/NH2MANm2re1aOpjWy2s0)

<figure><img src="/files/qrBwocQ08nsAoYhXMSa8" alt=""><figcaption></figcaption></figure>

Con searchsploit busque si este software contiene alguna vulnerabilidad.

Según este software contiene una vulnerabilidad donde se puede ejecutar comandos.

En google busque algún exploit aparte del ya encontrado topándome con el siguiente donde la ejecución lo hace automáticamente.

![](/files/XZGGvGQ2t2WdiYd7kNRs)

Al tener el POC le paso lo mismo pero con los datos míos y lo ejecuto dándome como resultado la conexión como root.

![](/files/3DafxRW4I2GENHldgFLD)

![](/files/RDNtCkYBrjukV2X13DeU)

![](/files/5bZrH7XdAzmpXaAeGA4N)

INFO> <https://github.com/Clydeston/CVE-2023-6019/blob/main/README.md>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://1gnotus.gitbook.io/ignotus_pwn/proving-ground-practice-and-play/writeup/maquina-ray-project-cve-2023-6019-commando-injection-ray-project.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
