Giter VIP home page Giter VIP logo

ajayrandhawa / user-management-php-mysql Goto Github PK

View Code? Open in Web Editor NEW
217.0 28.0 152.0 1.5 MB

PHP User Management System is a powerful PHP script that offers a secure user management system. The application is a great way to build your website, allowing your users to register an account and build restricted access to certain users. We offer great support and it’s very easy to install. It’s powered by MYSQL and PHP.

PHP 21.44% CSS 9.41% JavaScript 62.00% Hack 0.47% Less 6.68%
user management-system php mysql-database usermanagementsystem advanced bootstrap cms content-management-system

user-management-php-mysql's People

Contributors

ajayrandhawa avatar arunagri82 avatar cybervoid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

user-management-php-mysql's Issues

ADMIN ISSUE

AFTER SIGNUP THERE IS NOTHING SHOWN IN ADMIN USER LIST FOR APPROVAL

Send Password

Hallo, i try to use this script but in case of forgot password there is not possible for me to find send password script.
Can someone help me please

Selami Ersoy ([email protected])

images folder

Nice code. You omitted the images folder in the core code. This echo few error on sign up and rendered picture upload ineffective . Simply creating images folder solves the issue

User Groups

Hi has anyone implemented user groups with this platform. ?

wonder why u bother using a header file

when every single page you have a header of its own
while you can use child sections and various includes to keep your code streamlined and well documented

Authorization

Hi, i have one request for you.. it's possible add other authorization? and the pozzibility for change autorizzation in the pannel admin?now we have admin and general user, can you insert other user and cookie? thank you for help me

Client Side Vulnerability

I wouldn't recommend using this script without taking a good look at the source code. t]The passwords are hashed using SHA-1 and to top it all off the registration page has a vulnerability for anyone to register as admin.
<input type="hidden" name="roleid" value="3" class="form-control">

The roleid value attribute can be changed with dev tools and it submits the form with that id I was able to register as an admin.

signup fails

When attempting to create a new account via the signup link it fails to create the user in the mysql database. The Admin gets the message via notification

Remote code execution as www-data

Synopsis

I have discovered multiple remote code execution vulnerabilities in the following files.

register.php
profile.php
admin/edit-user.php
feedback.php

These vulnerabilities would allow an attacker to gain a foothold shell as www-data.

Proof of concept

Exploitation walkthrough can be found here:
https://palioxss.com/projects/exploit1.html

Technical summary

/register.php fails to properly handle file extension sanitization, allowing an attacker to upload a php file.

    <script type="text/javascript">

        function validate()
        {
            var extensions = new Array("jpg","jpeg");
            var image_file = document.regform.image.value;
            var image_length = document.regform.image.value.length;
            var pos = image_file.lastIndexOf('.') + 1;
            var ext = image_file.substring(pos, image_length);
            var final_ext = ext.toLowerCase();
            for (i = 0; i < extensions.length; i++)
            {
                if(extensions[i] == final_ext)
                {
                return true;
                
                }
            }
            alert("Image Extension Not Valid (Use Jpg,jpeg)");
            return false;
        }

The above code is run client-side, so it can be bypassed by editing the request manually.

profile.php, admin/edit-user.php and feedback.php do not implement any form of file sanitization at all. This would allow an attacker to simply click "upload" and select their php file.

Licence

Hey,

thx for this. This is awesome! I want to ask if there is any License on it, or do i have to leave your footer on it?

sry for my bad english, i am not a native speaker O_O

Yours

Julian

Unsafe password storage

Hi there,

You are saving the passwords as a plain md5 hash. That used to be "OK", but people have been building giant rainbowtables it isn't anymore.
I could simply revert the admin password hash using this website.

If there are any users for your lib - and it seems there are -, it would be nice if they weren't using this unsafe form of password storage.
Use a hash, and use a better hashing algorithm.

Further reading: https://www.php.net/manual/en/faq.passwords.php

Thanks for creating this, it looks pretty good!

Koen

Error: SQLSTATE[HY000] [2002] Connection refused

After starting my Mamp server, i created new database and imported the database.sql file successfully and i put the work on htdots folder. when running on chrome browser , it gives me this error "Error: SQLSTATE[HY000] [2002] Connection refused"

It working fine in Xampp. but not working in Server

Notification part is registering perfect.
$sqlnoti="insert into notification (notiuser,notireciver,notitype) values (:notiuser,:notireciver,:notitype)";
$querynoti = $dbh->prepare($sqlnoti);
$querynoti-> bindParam(':notiuser', $sender, PDO::PARAM_STR);
$querynoti-> bindParam(':notireciver',$reciver, PDO::PARAM_STR);
$querynoti-> bindParam(':notitype', $notitype, PDO::PARAM_STR);
$querynoti->execute();

User part is not registering.
$sql ="INSERT INTO users(name,email, password, gender, mobile, designation, image, status) VALUES(:name, :email, :password, :gender, :mobileno, :designation, :image, 1)";
$query= $dbh -> prepare($sql);
$query-> bindParam(':name', $name, PDO::PARAM_STR);
$query-> bindParam(':email', $email, PDO::PARAM_STR);
$query-> bindParam(':password', $password, PDO::PARAM_STR);
$query-> bindParam(':gender', $gender, PDO::PARAM_STR);
$query-> bindParam(':mobileno', $mobileno, PDO::PARAM_STR);
$query-> bindParam(':designation', $designation, PDO::PARAM_STR);
$query-> bindParam(':image', $image, PDO::PARAM_STR);
$query->execute();
$lastInsertId = $dbh->lastInsertId();
if($lastInsertId)

after signup it giving Registration Sucessfull!
but user database remains empty

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.