Pentester Nepal
Published in

Pentester Nepal

Hacking Dutch Government For a lousy T-shirt

Good day, everyone! Greetings, As this is my first post on Pentester Nepal, I’d want to thank you for taking the time to read it. Allow me to begin by providing a brief introduction of myself. I’m Veshraj Ghimire, an infoSec enthusiast who is passionate about offensive security (mostly web application). Recently I was rewarded with cool swag by dutch government for finding vulnerability on their assets. So, in this article, I’ll answer some of the questions that people have asked me about it.

The lousy tshirt is so cool actually😛

What was the issue and how did you found it?

One day, while i was scrolling twitter as usual. I got to know about National Cyber Security Centre rewarding with cool swags, which got my attention. Then i planned to look after it to get my first swag. I gathered some domains from GitHub then started with subdomain enumeration. As soon as I had a list of subdomains, I wanted to check out some. It took me a while to discover that a subdomain of bkwi.nl was using Gitlab. I thought to look after previously found misconfigurations on gitlab. After spending some time to look after possible vulnerabilities on Gitlab, i got GitLab User Information Disclosure Via Open API. https://gitlab.bkwi.nl/api/v4/users/31 was disclosing informations of user 31 similarly, upon brute-forcing last digits, i got information of many other users being disclosed.

GitLab User Information Disclosure Via Open API

So, the bug was this simple, due to the Gitlab misconfiguration, it was possible to disclose the information about users.

How Long did it took for you to receive the swag?

1. Reported : Fri, Jun 25, 10:45 PM

2. Got replied with “we will process your report in accordance with our Responsible Disclosure Policy” : Fri, Jun 25, 10:59 PM

3. Got replied with “We have confirmed your report and have informed the responsible organization. When they inform us that the issue is fixed, we will let you know. If they have questions we will also contact you.” : Jun 28, 2021, 5:16 PM

4. It was fixed and Got replied with:

“Dear Veshraj,

The vulnerability you reported has been fixed.

As a token of our appreciation we would like to offer you a T-shirt. If you
would like a T-shirt please provide us with your preferred T-shirt size
(S/M/L/XL) and on what address you would like to receive the T-shirt.
Please, be compliant with the international address standard [0] when you
write down your address.” : Jul 6, 2021, 5:35 PM

5. Finally, received the cool swag : August 21, 2021.

Can I report my findings and get swags?

Yes, you can go through this Blog and know more about reporting the vulnerabilities on National Cyber Security Centre. Once the issue will get accepted and fixed, you will be rewarded with cool T-shirt.

What are in scope Domains?

The scope fot this program is actually huge. Every sites managed by dutch government are in scope. So, you can choose any of them and start looking for security vulnerabilities. You can also find some of the in scope domains here.

What if i found multiple vulnerabilities?

I also tried reaching out team and asked what if one finds multiple vulnerabilities on their assets and their answer was:

many vulns= many swags hehe

That’s all there is to it; Thank you for sticking with me until the end. If you have any questions concerning this post, please feel free to ask. If you’d like to communicate with me, you can find me on Twitter. That concludes the story of how i got my first swag. Stay Safe✌️✌️

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store