Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite injection attacks possible #34

Open
DaHoC opened this issue Jul 10, 2014 · 1 comment
Open

SQLite injection attacks possible #34

DaHoC opened this issue Jul 10, 2014 · 1 comment

Comments

@DaHoC
Copy link

DaHoC commented Jul 10, 2014

The app is vulnerable against SQL injection attacks.

  • Steps to reproduce:

    When creating a new playlist and entering the name (e.g. long click on a song > Add to playlist > New playlist) you may enter characters such as ' which is then interpreted in SQLite but should not.
    You can see the SQLite errors when using USB debug conntected to a pc.
    Additionally the app crashes.

  • Expected behaviour:

    The string of the playlist name should not be interpreted but rather be part of the name, such that names like "Assassin's Creed" is possible.
    Furthermore, the app should not crash.

  • Impact:

    Currently the impact is limited on the local SQLite database of the Apollo app.
    It may be possible to inject URLs for Apollo to load (such as advertisments instead of the album covers) or media streams containing malware, but I do not know enough of Apollo internals to evaluate probable scenarios.
    In combination with possible other bugs this may even become critical.

  • Screenshot:
    apollo_sqlite_injection

  • Version:

    Apollo Version 1.1
    Cyanogenmod 11-20140609-SNAPSHOT-M7-i9300
    Android 4.4.2 german

@DaHoC
Copy link
Author

DaHoC commented Jul 16, 2014

  • Issue persists after CM update with:

Apollo Version 1.1
Cyanogenmod 11-20140708-SNAPSHOT-M8-i9300
Amdroid 4.4.4 german

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant