openplanning

Onlinevoting System Project In Php And Mysql Source Code Github Link [repack]

The online voting system project includes the following security features:

| Vulnerability Area | Risk Level | Observation in GitHub Projects | | :--- | :--- | :--- | | | High | Many older or student projects use mysqli_query without prepared statements, allowing attackers to manipulate the database via login forms. | | Authentication | Medium | Passwords are often stored as plain text. Few implementations use password_hash() or bcrypt . Session management is often weak (e.g., easy session hijacking). | | One-Vote Integrity | High | While most check a database flag ("Has Voted"), few protect against race conditions. A sophisticated user could potentially send multiple POST requests simultaneously. | | CSRF | Medium | Cross-Site Request Forgery protection is rarely implemented. A malicious site could trick a logged-in user into voting unknowingly. | | Vote Buying/Coercion | N/A | Technical solutions cannot fully solve this. Since the user sees a "Success" screen, they can prove how they voted to a vote buyer. | The online voting system project includes the following

A functional voting system is typically divided into two main panels: the and the Admin Panel . Voter Panel: Session management is often weak (e

Open the project folder and edit config/db_connection.php (or includes/config.php ). | | CSRF | Medium | Cross-Site Request