
typo3 install.php XSS
$docker-compose up
http://[web-server ip]:port/typo3 に移動し、次のメッセージは無視します。
Directory / is not writable Path /var/www/html/typo3 exists, but no file underneath it can be created.
コンテナに配置した typo3 サイトにアクセスし、インストールを進めます。 mysql DB のホストは db です。
インストール中 4/5 の画面で、site name に XSS ペイロードを入力します。

インストールが完了しログインすると、以下のように XSS が実行されていることを確認できます。

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]
www-data ユーザーで実行される Apache2 サーバーの特性上、www-data で typo3 フォルダを作成しました。
mysql イメージは 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
mysql コンテナに command オプションを設定しました。
Invalid Charset Your database uses character set "latin1", but only "utf8" is supported with TYPO3. You probably want to change this before proceeding.