Skip to content

fab1ano/rconfig-cves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vulnerable rConfig Images

Demo images for CVE-2019-16662 and CVE-2019-16663.

Info

This repository contains the setup to create two docker images running rConfig 3.9.2. Each image contains an /exploit.py to trigger the vulnerability.

For further info have a look at the corresponding blog post.

Run

You can just pull the image from docker hub:

docker run -it fab1ano/cve-2019-1666[2,3]

Setup

This section only contains the required procedure to create the docker images. If you want to build them on your own, replace my handle (fab1ano) with yours.

docker build . -t fab1ano/rconfig-base
docker run -it fab1ano/rconfig-base

Now, do the install process on the website (http://<ip>:<port>/install/index.php, database info: host localhost, port 3306, db name rconfig, user root, password empty). And fix /home/rconfig/config/config.inc.php in the container (remove https-forwarding).

Now, commit the modified container to the image:

docker commit <container_id> fab1ano/rconfig-base
docker push fab1ano/rconfig-base

Then, build the two cve images. Run the following commands for each subdirectory:

cd cve-2019-1666[2,3]
docker build . -t fab1ano/cve-2019-1666[2,3]
docker push fab1ano/cve-2019-1666[2,3]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published