Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulnerable Service: niceboard.co #433

Open
dalpan opened this issue Nov 28, 2024 · 0 comments
Open

Vulnerable Service: niceboard.co #433

dalpan opened this issue Nov 28, 2024 · 0 comments

Comments

@dalpan
Copy link

dalpan commented Nov 28, 2024

Service name

app.niceboard.co is a service provided by Niceboard that enables clients to use custom domains via CNAME records pointing to app.niceboard.co or A record 173.255.233.147

When the associated Niceboard project is deleted or not configured properly, the subdomain becomes unclaimed, resulting in a 301 redirect to https://100teletravail.fr/ or SSL certificate warnings. This state renders the subdomain vulnerable to takeover.

Proof

Setup a CNAME pointing to app.niceboard.co
A record 173.255.233.147
Example:

vulnerable.example.com. 300 IN      CNAME   app.niceboard.co.
app.niceboard.co.       60      IN      A       173.255.233.147

Check for Vulnerability
Access the subdomain (https://vulnerable.example.com/) and observe a response like (SSL certificate warnings):

image

cURL ignore SSL certificate warnings command (redirect to https://100teletravail.fr/)

image

Takeover the Subdomain

Go to setting General -> Domain.
Add the custom domain (vulnerable.example.com) in the Niceboard dashboard.

image

Domain configuration takes about one hour and your browser may display an SSL error during this time

image

if the domain is connected, you will receive an email message like this

image

open the subdomain in the browser, the page we created will appear (taken over)

image

Documentation

https://help.niceboard.co/article/4-how-to-connect-domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant