
XSS in install.php di TYPO3
$docker-compose up
Vai su http://[web-server ip]:port/typo3, ignora il seguente messaggio.
Directory / is not writable Path /var/www/html/typo3 exists, but no file underneath it can be created.
Accedi al sito typo3 installato nel contenitore e procedi con l'installazione. L'host del database mysql è db.
Durante l'installazione, al passaggio 4/5, inserisci il payload XSS nel campo "site name".

Dopo aver completato l'installazione e effettuato il login, puoi vedere l'esecuzione dell'XSS come mostrato di seguito.

debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype
RUN apt-get install -y debconf-utils RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections RUN apt-get install -y -q [package]
A causa della natura del server apache2 eseguito come utente www-data, abbiamo creato la cartella typo3 con l'utente www-data.
Abbiamo impostato l'immagine mysql alla versione 5.8.
System Requirements For more information as well as installation instructions see the Installation guide. Operating System Linux, Windows or Mac, or common cloud infrastructure setups Webserver Apache httpd, Nginx, Microsoft IIS, Caddy Server Supported Browsers Chrome (latest) Edge (latest) Firefox (latest) Internet Explorer >= 11 Safari (latest) Database MariaDB >= 10.0 <= 10.3 Microsoft SQL Server MySQL >= 5.0 <= 5.7 PostgreSQL SQLite Hardware RAM >= 256 MB PHP PHP >= 7.2 <= 7.4
Abbiamo impostato le opzioni di comando nel contenitore mysql.
Invalid Charset Your database uses character set "latin1", but only "utf8" is supported with TYPO3. You probably want to change this before proceeding.