How I Hacked The Chattisgarh High Court Government Portal
The website stored video conference passwords as MD5 hashes in client-side JavaScript, which could be easily decrypted. An attacker could retrieve the passwords and gain unauthorised access to court video conferences.
medium.com
Published on medium.com
A few months ago, I discovered a critical security flaw on the official website of the Chhattisgarh High Court, specifically at https://highcourt.cg.gov.in/vclink.html. The vulnerability exposes the video conferencing (VC) passwords of all judges due to weak encryption practices.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application used client-side JavaScript to store MD5-hashed passwords, which are trivially reversible, instead of server-side authentication with strong hashing.
Impact
Unauthorised individuals could extract and decrypt the passwords, gaining access to sensitive court proceedings and potentially disrupting or leaking confidential discussions.
What the attacker needed
Access to the public website; no account needed
The fix
The password authentication mechanism was removed and authentication now goes through Zoom, but the weak hashing should have been replaced with a strong algorithm like bcrypt or Argon2 and server-side checks.
How it was found
- Inspect the website's source code and find the JavaScript function handling passwords.
- Locate the external JavaScript file containing the password-handling functions.
- Use an online MD5 decryption tool to reverse the hashed passwords.
- Test the retrieved password to confirm it grants access to the video conference system.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Passwords should never be stored in a way that can be reversed. Here, the website used a weak method called MD5 hashing, which is like a simple code that can be easily cracked. Anyone who looked at the website's code could decode the passwords and join private video calls.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.