"value":"The XWiki Admin Tools Application provides tools to help the administration of XWiki. Starting in version 4.4 and prior to version 4.5.1, a cross site request forgery vulnerability in the admin tool for executing shell commands on the server allows an attacker to execute arbitrary shell commands by tricking an admin into loading the URL with the shell command. A very simple possibility for an attack are comments. When the attacker can leave a comment on any page in the wiki it is sufficient to include an image with an URL like `/xwiki/bin/view/Admin/RunShellCommand?command=touch%20/tmp/attacked` in the comment. When an admin views the comment, the file `/tmp/attacked` will be created on the server. The output of the command is also vulnerable to XWiki syntax injection which offers a simple way to execute Groovy in the context of the XWiki installation and thus an even easier way to compromise the integrity and confidentiality of the whole XWiki installation. This has been patched by adding a form token check in version 4.5.1 of the admin tools. Some workarounds are available. The patch can be applied manually to the affected wiki pages. Alternatively, the document `Admin.RunShellCommand` can also be deleted if the possibility to run shell commands isn't needed."
"value":"XWiki Admin Tools Application proporciona herramientas para ayudar en la administraci\u00f3n de XWiki. A partir de la versi\u00f3n 4.4 y antes de la versi\u00f3n 4.5.1, una vulnerabilidad de Cross-Site Request Forgery en la herramienta de administraci\u00f3n para ejecutar comandos de shell en el servidor permite a un atacante ejecutar comandos de shell arbitrarios enga\u00f1ando a un administrador para que cargue la URL con el comando de shell. Una posibilidad muy simple de ataque son los comentarios. Cuando el atacante puede dejar un comentario en cualquier p\u00e1gina de la wiki, basta con incluir una imagen con una URL como `/xwiki/bin/view/Admin/RunShellCommand?command=touch%20/tmp/attacked` en el comentario. Cuando un administrador vea el comentario, se crear\u00e1 el archivo `/tmp/attacked` en el servidor. La salida del comando tambi\u00e9n es vulnerable a la inyecci\u00f3n de sintaxis de XWiki, lo que ofrece una manera sencilla de ejecutar Groovy en el contexto de la instalaci\u00f3n de XWiki y, por lo tanto, una manera a\u00fan m\u00e1s f\u00e1cil de comprometer la integridad y confidencialidad de toda la instalaci\u00f3n de XWiki. Esto se solucion\u00f3 agregando una verificaci\u00f3n de token de formulario en la versi\u00f3n 4.5.1 de las herramientas de administraci\u00f3n. Algunos workarounds est\u00e1n disponibles. El parche se puede aplicar manualmente a las p\u00e1ginas wiki afectadas. Alternativamente, el documento `Admin.RunShellCommand` tambi\u00e9n se puede eliminar si no se necesita la posibilidad de ejecutar comandos de shell."