Comments (8)
Wow, what the hell. Thank you for reporting. Looking into this now.
from gamepanelx-v3.
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:
from gamepanelx-v3.
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.
Thanks man :)
from gamepanelx-v3.
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.
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.
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.
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.
from gamepanelx-v3.
Related Issues (20)
- No screen session found. HOT 4
- GamePanelX Installation error HOT 9
- Problems with Database HOT 16
- Steam install = 0
- GamePanelX wont install files HOT 1
- Duplicate Entry HOT 6
- Server Console via screen HOT 1
- PHP5.6 error HOT 3
- Error while creating games HOT 1
- bitte einmal die Auflistung aller Spiele
- How to limit the max players of a samp/MTA server?
- Upload Error
- Problems with adding a new game HOT 2
- Can't create Teamspeak 3
- Configuration.php HOT 1
- GamePanelx FTP login not working!
- Permission Problem, Error: internal server error, cannot start gmsrvs
- Restart: Screen failed to start, check your server settings. Exiting.
- Currently down for maintenance. Please try again soon. HOT 2
- HTTP Error 500 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gamepanelx-v3.