ericdiao

Joined 8 years ago

Karma
160
Submissions
26
Member since
Jan 18
https://ericdiao.com
View on Hacker News

Recent submissions

Comment · 9 months ago
The OP is explicitly not doing coordinated disclosure yet.

<del>No post / incident on CA/Browser Forum also.</del>

Edit: Incident on dev-security-policy@moz: https://groups.google.com/a/mozilla.org/g/dev-security-polic...

---

Translation by LLM of the post on Chinese forum V2EX:

LiteSSL appears to be a CA that only emerged last year. It provides free TrustAsia-backed wildcard certificates issued via ACME.

However, in my testing, its ACME server very frequently errors out with:

> Too many concurrent connections from IP 10.254.14.70 (limit: 10), > urn:ietf:params:acme:error:rateLimited:concurrent

This clearly indicates a backend misconfiguration: LiteSSL incorrectly treats the reverse proxy’s internal IP as the client’s real IP when applying rate limits.

More seriously, LiteSSL has a *critical authentication vulnerability*.

Its DNS-01 challenge cache appears to have a very long validity period, and it does *not* verify that a certificate issuance request comes from the same ACME account that completed the original DNS-01 challenge. As a result, anyone can arbitrarily re-issue (steal-sign) certificates that were originally issued via DNS-01.

You can browse certificates issued by this CA here (ECC/RSA behave similarly). Pick any certificate with a wildcard domain, and you can re-issue it using your own LiteSSL ACME account without triggering validation:

[https://crt.sh/?CN=%25&iCAID=438132](https://crt.sh/?CN=%25&iCAID=438132)

`ssyhwa.cloudns.cl` is a temporary domain I created for testing; it has already passed DNS-01 validation and can reproduce the issue.

`*.vaadd.com` was a randomly selected victim domain, and I was also able to successfully steal its certificate.

Comment · 10 months ago
Comment · 10 months ago
Another related but non-VPN story related to IP geolocation:

Big techs (most notably Google) is using the location permission they have from the apps / websites on the user's phones / browsers to silently update their internal IP geolocation database instead of relying on external databases and claims of IP owners (geofeed etc). And this can be hyper-sensitive.

I was traveling back home in China last year and was using a convoluted setup to use my US apartment IP for US based services, LLM and streaming. Days into the trip and after coming back, I found that Google has been consistently redirecting me to their .hk subdomain (serving HK and (blocked by gov) mainland China), regardless of if I was logged in or not. The Gmail security and login history page also shows my hometown city for the IP. I realized that I have been using Google's apps including YouTube, Maps and so on while granting them geolocation permission (which I should not do for YouTube) in my iPhone while on the IP and in my hometown.

After using the same IP again in the US with Maps and so on for weeks and submitting a correction request to Google, it comes back to the correct city. (The tricks of restarting the modem / gateway, changing MAC address to get a new IP is not working somehow this time with my IS.

Comment · 1 year ago
Uh Great. They added this feature! It cannot last time (few years ago) I checked.

I can somehow consider migrating now.

Comment · 1 year ago
Comment · 1 year ago
Yeah.

I personally ran into the legacy setup issue for running vanilla Wireguard for my setup before Tailscale is a thing and have to manually manage keys, routing and DNS.

But one thing Tailscale has that annoyed me is that they are using 100.64 CGNAT addresses (which is more RFC-compliant) but conflicts with one of my cloud service provider's pre-configured DNS, NTP and software mirrors setup. Using it became more or less messy for this reason.

Comment · 1 year ago
Oh this make sense. For LAN, one definitely want L2. Totally overlooked the objective.
Comment · 1 year ago
Really want to know the rationale of choosing IPSec over Wireguard. IPSec is really tricky to get right (IMO). Maybe legacy issue?
Comment · 1 year ago
The ZIP code system in the US CAN somewhat work the same way.

The usual 5 digit ZIP code routes to your Post Office. The longer ZIP+4 code routes more detailed locations: a city block, an apartment building. The even longer ZIP+6 code goes to something called delivery point, which to my understanding is basically a single mailbox. The ZIP+6 code is in fact embedded in the bar code sprayed onto the mail piece.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton