
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 payload를 입력합니다.

설치가 완료되고 로그인을 하면 아래와 같이 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 user로 실행되는 apache2서버 의 특성 상, www-data로 typo3 폴더를 생성하였습니다.
mysql image를 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 container에 command 옵션을 설정하였습니다.
Invalid Charset Your database uses character set "latin1", but only "utf8" is supported with TYPO3. You probably want to change this before proceeding.