
POC for CVE-2019-14339 Canon PRINT 2.5.5
Content Provider URI Injection on Canon PRINT 2.5.5 (CVE-2019-14339). Proof of concept by @0x48piraj
The ContentProvider in the Canon PRINT 2.5.5 application for Android does not properly restrict data access. This allows an attacker's malicious application to obtain sensitive information including factory passwords for administrator web-interface and WPA2-PSK key.
This bug can leak data from every printer which Canon PRINT 2.5.5 supports, i.e.
The mobile application contains unprotected exported content providers ('IJPrinterCapabilityProvider'in android/AndroidManifest.xml) that discloses sensitive application’s data under certain conditions.
To securely export the content provider, one should restrict access to it by setting up android:protectionLevel or android:grantUriPermissions attributes in Android Manifest file.
There are two ways to test this vulnerability.
Setup ADB, clone the repository, goto /poc-scripts and run leak.py
git clone https://github.com/0x48piraj/CVE-2019-14339
cd CVE-2019-14339/poc-scripts
python leak.py
Clone the repository, build the source.
Use pre-built app by going under /release and downloading cannon-pwn.apk or via releases
NOTE: Disable Play Protect or it'll throw "App Not Installed" error, (within Google Play)> Menu> Play Protect> Scan device for security threats (disable).


Issues have been disabled on this repository. It is a simple proof of concept I wanted to share with the community.