WRITE-UP N1CTF 2025
dev.to·12w·
Discuss: DEV

[Web]N1SAML

This is the challenge I had spend 90% of time to do but I didn’t solve this challenge on time, so sad. Basically, this is a group of go(lang) servers to SSO using SAML. This workflow is similar to this:

The service provider is “sp” docker service. The Identity Provider (IDP) is not here, but the config is point to https://exp10it.io/ server.

We can only get the flag at step (7) when SAML assertion is valid and authentication is correct as following code:

The challenge exposed only healthcheck service’s port to internet. To reach the step (1) – the internal SSO service, we should get RCE on healthcheck server. There is a feature on this server that we can make curl command with any argument:

From [this crazy report (https://hackerone.com/rep…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help