Code Monkey home page Code Monkey logo

Comments (8)

devryan avatar devryan commented on June 3, 2024

Wow, what the hell. Thank you for reporting. Looking into this now.

from gamepanelx-v3.

devryan avatar devryan commented on June 3, 2024

Patched. Thank you so much for reporting this. I have no idea where my mind was when I wrote this code. Probably focused too much on salting/base64'ing and didn't notice I failed to fix SQLi. Argh! Commit is here:

bab5ff5

from gamepanelx-v3.

AlexVanderbist avatar AlexVanderbist commented on June 3, 2024

Thanks, it's an easy fix with the login form, which probably keeps most of the people with bad intentions out. The problem is it also works with some other forms like the server description...

from gamepanelx-v3.

AlexVanderbist avatar AlexVanderbist commented on June 3, 2024

Thanks man :)

from gamepanelx-v3.

devryan avatar devryan commented on June 3, 2024

Re-opening this. If you find SQLi issues on any other forms, can you post them here? I am usually very serious and look at every input that I can to fix SQL injection. I am human however and it's possible one is missing, though I seriously hope not.

Note that I removed your GIF image only to not help people exploit the issue more than it needs to be :)

from gamepanelx-v3.

AlexVanderbist avatar AlexVanderbist commented on June 3, 2024

No worries, thanks for providing an awesome panel for free. I feel bad for letting you know now, haha. What's the easiest way to contact you anyways?

I think the problem might be that the base64 encoded strings can't be escaped by mysql_real_escape in ajax.php, so it passes straight through. For example in /scripts/internal/network.js, line 98 and 190 some encoded strings are sent to ajax.php.

from gamepanelx-v3.

devryan avatar devryan commented on June 3, 2024

Don't feel bad, that's the whole point of it being open source. I'm glad you caught it. On here is the easiest way to contact/report issues as it goes straight to my email and is public.

You might be right about the base64 stuff as there are only a few javascript functions that use the base64 library. I will check that out tomorrow, but it sounds like a good lead.

from gamepanelx-v3.

devryan avatar devryan commented on June 3, 2024

Note that the recent commit fixed SQLi on the login forms in a better way, fixes SQLi on the network actions page, and the API SQLi is now patched.

8113841

from gamepanelx-v3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.