CWE
89
Advisory Published
Updated

CVE-2024-40502: SQL Injection

First published: Mon Jul 22 2024(Updated: )

SQL injection vulnerability in Hospital Management System Project in ASP.Net MVC 1 allows aremote attacker to execute arbitrary code via the btn_login_b_Click function of the Loginpage.aspx

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Online Hospital Management System

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-40502?

    CVE-2024-40502 is considered a high severity vulnerability due to its potential for remote code execution via SQL injection.

  • How do I fix CVE-2024-40502?

    To fix CVE-2024-40502, validate and sanitize user inputs in the btn_login_b_Click function to prevent SQL injection.

  • What software is affected by CVE-2024-40502?

    CVE-2024-40502 specifically affects the Hospital Management System Project in ASP.Net MVC 1.

  • What type of vulnerability is CVE-2024-40502?

    CVE-2024-40502 is classified as an SQL injection vulnerability.

  • Can CVE-2024-40502 lead to data compromise?

    Yes, CVE-2024-40502 can lead to data compromise as it allows attackers to execute arbitrary SQL code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203