Breaking Down Two Simple Vulnerabilities That Exposed A School’s Admission Records
Recently, while conducting reconnaissance on a school website, our team of security researchers at A 2026-6-19 11:3:40 Author: infosecwriteups.com(查看原文) 阅读量:2 收藏

Recently, while conducting reconnaissance on a school website, our team of security researchers at Avyukt Security found data-exposure vulnerabilities that revealed sensitive admission records containing PII (Personally Identifiable Information) such as names, emails, phone numbers, addresses, profession-related info, etc. The /print-form.php?app_number= endpoint was vulnerable to IDOR (Insecure Direct Object Reference), where upon entering the application number, admission records were exposed without any authorization checks. The same parameter was also vulnerable to SQL Injection and allowed dumping the whole database of records via automated tools.

Additionally, minor low-severity security flaws such as Reflected and Stored XSS, and exposure of XML-RPC and WP-Cron were also discovered.

Note: All the discovered vulnerabilities were responsibly disclosed to the concerned institution via appropriate channels to ensure they could be remediated. No sensitive data was accessed, and no service disruption occurred during the security testing.

Get Avyukt Security’s stories in your inbox

Join Medium for free to get updates from this writer.

Remember me for faster sign in

The following is a detailed breakdown of the reported findings on the website.

-0x01: Discovery of IDOR on the Admission Registration Form

  • The school website was built using WordPress and hosted a submission form for Kindergarten admissions on the /online_form_2025 endpoint.
  • After filling the form and completing the submission, the user was redirected to the /online_form_2025/thank-you.php?app_number=[application_id] page which showed the following.

Press enter or click to view image in full size

  • The application ID fetched from the app_number GET parameter was being reflected on the webpage as shown.
  • The parameter could be easily manipulated, and upon clicking the “Print Registration” button, the user was redirected to the /online_form_2025/print-form.php?app_number= endpoint where the registration form of the manipulated ID could be printed.
  • The /print-form.php endpoint exposed over 46 columns of data per registration form as the app_number GET parameter was vulnerable to IDOR.
  • The webpage exposed critical PII because no authorization checks were implemented to verify that the user was authorized to view the requested registration form data.

Press enter or click to view image in full size

-0x02: Discovery of SQL Injection on the Admission Registration Form

  • We tested the GET parameter app_number in /online_form_2025/print-form.php?app_number= endpoint for SQL Injection via SQLMap.
  • The scan revealed that the parameter was vulnerable to UNION-based SQL Injection.
  • We tested the parameter further and were successful in dumping the [school_name]_kg_admission database that stored all the 46 columns of every registration record in thetbl_kg_adm_dataand tbl_kg_secondary_datatables.

Press enter or click to view image in full size

SQLMap output while testing ‘app_number’ parameter to test for SQLi

文章来源: https://infosecwriteups.com/breaking-down-two-simple-vulnerabilities-that-exposed-a-schools-admission-records-040bd636a7f3?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh