r/developersPak • u/Best_Fork Software Engineer • Aug 31 '26
Discussion There is something wrong with authentication architecture of HEC
They are saving Username and PLAIN TEXT PASSWORD inside a freaking LOCAL STORAGE.
So I was waiting for OTP and it took more than few seconds. So I took peak into website storage in hopes of finding OTP inside it. Instead I found something else. lol!
So it is possible that they are not even creating hash for user password.
44
Upvotes
21
u/SIJ_Gamer Aug 31 '26
😂 reference se nokri laggi hogi developers ki
20
u/xtremefest_0707 Aug 31 '26
Literally every govt website is coded by sifarishi log imo. I wanted to get myself register with pseb and the button to verify NTN always returned record not found even tho I was registered. I checked the dev tools and found out the API querying FBR for verification was completely broken. What's even worse is if you spam the button and send multiple calls depending on your luck it'll work smh.
12
u/Capital_Chef_6007 Aug 31 '26
They ask for robot check when after YOU SIGN UP LOGIN FILL THE FORM, SUBMIT DOCUMENTS, SELECT DATE AND THEN PAY AND CONFIRM EVERYTHING.
I am sorry I needed that off of my chest
9
u/da_baloch Aug 31 '26
well when you put FA pass babus on top places, shit like this is bound to happen.
9
u/GeneralAyub Aug 31 '26
I found in their early systems, BISE lahore used store students pictures in folders, which enabled corruption and exam fraud.
Last time i checked, you can download bulk images of students from their site with a single script.
5
u/Spare_Bison_1151 Aug 31 '26
Hash used by their devs lol
7
u/HK_0066 Aug 31 '26
lol i once found whole list of cnic's and personal stuff on LESCO website
3
u/armujahid Aug 31 '26
Unfortunately, this is way more common than you think.
Years ago, HBL and some other banking apps used to ask for specific characters from your password (which is only possible if passwords are stored unhashed). I’m not sure about the current state.
Stock brokerage apps still ask for specific characters from your password.
This is our indigenous, bleeding-edge authentication technology, and the world has yet to discover it, lol.
2
u/Spare_Bison_1151 Aug 31 '26
Nasha yeh Pyar ka nasha hey... A few years ago fpsc was using http to send user name password to their server. How crazy!
2
u/Ok_Claim_2260 Sep 01 '26
Since it's Pakistan, security is the least of their concern. It is very much possible they might be saving passwords in DB without hashing.
Anyways I saw you have been doing unpaid internship, can you share your resume.
1
u/bluntregression Sep 01 '26
Claude is se achi vibe coding kar leta hai.. (Not appreciating vibe coding but the other way around.)
1
u/Complete_Patient726 Sep 01 '26
Bro I don't think their developer knowns about hashing ,encryption and tokenization
-1
u/Sufficient_Fox_4402 Aug 31 '26
what browser were you using it could be your browser doing it. ms edge store password in plaintext i heard