News for hackers. Stuff that matters.
Re:Government shutdown: TLS certificates not renewed, many w... by aboutruby on Saturday January 12, 2019 @08:37AM (#18891098)
From reddit:

> This article is overly hyperbolic. Some obscure subdomains of government websites are serving expired x509 certificates. They're not down and this definitely doesn't compromise the encryption that protects any login credentials. Anyway, it is embarassing to see certificate renewal is not automated - it's something any good sysadmin would have set up.

https://www.reddit.com/r/technology/comments/aeps41/governme...

Re:Government shutdown: TLS certificates not renewed, many w... by tyingq on Saturday January 12, 2019 @08:50AM (#18891141)
Nothing to do with SSL, but a fair amount of US government websites are hard down, on purpose, due to the funding dilemma.

Like: https://www.data.gov

"Due to a lapse in government funding all Data.gov websites will be unavailable until further notice."

Which is pretty odd, because putting up these blocker pages probably costs more than just letting the sites run unattended.

Re:Government shutdown: TLS certificates not renewed, many w... by baddox on Saturday January 12, 2019 @09:27AM (#18891274)
Government departments are legally required to budget for the possibility of a shutdown, which means they have to keep the money around that they will use to shut down.

https://en.wikipedia.org/wiki/Antideficiency_Act

Re:Government shutdown: TLS certificates not renewed, many w... by rplst8 on Saturday January 12, 2019 @09:31AM (#18891291)
Yes, but this coupled with the fact they shut down things that don't otherwise really require a human to actively working proves that it's all just a political ploy.
Re:Government shutdown: TLS certificates not renewed, many w... by guiambros on Saturday January 12, 2019 @11:18AM (#18891808)
> .. proves that it's all just a political ploy.

Security maintenance, keeping databases up, monitoring the various systems, risk of DDoS, answering to users' inquires, bandwidth... - it requires real money to keep any production site live.

Given that these folks are basically working without pay, I don't blame them for wanting to put a cover page saying "Sorry, we're down", and call it a day.

Re:Government shutdown: TLS certificates not renewed, many w... by IanCal on Saturday January 12, 2019 @12:12PM (#18892109)
Many are not legally allowed to work for free or be ask people to work (I forget which). The range of people allowed to work (even for free) is pretty limited to dealing with loss of life or property.
Re:Government shutdown: TLS certificates not renewed, many w... by lowercased on Saturday January 12, 2019 @09:34AM (#18891305)
Some bits no doubt require some human intervention, and if it wasn't updated, would cause confusion.

The census site seems to be a decent middle ground. Banner at the top says "NOTICE: Due to a lapse in federal funding portions of this website are not being updated." Still functional, but if something's not updated, you know why.

Re:Government shutdown: TLS certificates not renewed, many w... by baddox on Saturday January 12, 2019 @09:39AM (#18891330)
I don’t dispute that shutdowns are political ploys, but I don’t think that the actual implementations of shutting down are necessarily part of that ploy. Whether a human is required to run something is not the relevant factor. What’s relevant is the cost.
Re:Government shutdown: TLS certificates not renewed, many w... by ggggtez on Saturday January 12, 2019 @12:11PM (#18892103)
Bandwidth costs money. It's likely technically cheaper to serve a 404 than to serve the data. Besides that, it's not what costs less, it's what LOOKS like it costs less.
Re:Government shutdown: TLS certificates not renewed, many w... by hermitdev on Saturday January 12, 2019 @12:46PM (#18892316)
If saving money is the game, it's cheaper still to turn off the servers.
Re:Government shutdown: TLS certificates not renewed, many w... by sdenton4 on Saturday January 12, 2019 @10:37AM (#18891573)
Well, bandwidth isn't free... Replacing a larger site for large data downloads with a simple 404 will certainly bring down costs.
Re:Government shutdown: TLS certificates not renewed, many w... by ezoe on Saturday January 12, 2019 @05:28PM (#18893654)
Web sites are not maintenance free nor cost free. Sudden traffic spikes, hardware failures or new vulnerabilities can easily make web sites down. It need manual human intervention to restore. If that human intervention is not possible due to the law, It's best to just shutdown.
Re:Government shutdown: TLS certificates not renewed, many w... by wlesieutre on Saturday January 12, 2019 @09:00AM (#18891172)
Maybe the worry is letting them run unattended when no one is allowed to do maintenance/security work in the event of a problem?
Re:Government shutdown: TLS certificates not renewed, many w... by tyingq on Saturday January 12, 2019 @09:03AM (#18891186)
I guess, but it's likely the seldom used blocker page code has security and/or maintenance issues too.
Re:Government shutdown: TLS certificates not renewed, many w... by metildaa on Saturday January 12, 2019 @01:11PM (#18892445)
Serving a static HTML page has security or maintenance issues? This is reaching IMO, short of the web server having a vuln, this shouldn't take much to create/maintain.
Re:Government shutdown: TLS certificates not renewed, many w... by tyingq on Saturday January 12, 2019 @01:15PM (#18892462)
I have seen many real world bad "maintenance mode" implementations. Including things like "oops, we are now serving up scripts/configuration/etc as plain text".
Re:Government shutdown: TLS certificates not renewed, many w... by shakna on Saturday January 12, 2019 @09:00AM (#18891174)
Also in the above thread, were a few government workers. One explained it was policy to powerdown all servers, except the one hosting that error page, though they weren't aware of the reason for such a policy.
Re:Government shutdown: TLS certificates not renewed, many w... by untog on Saturday January 12, 2019 @09:33AM (#18891302)
It's not just salaries, though, they technically have no budget. So there's no money to run the servers.
Re:Government shutdown: TLS certificates not renewed, many w... by tyingq on Saturday January 12, 2019 @10:03AM (#18891426)
The blocker page is served from S3, which isn't free :)
Re:Government shutdown: TLS certificates not renewed, many w... by untog on Saturday January 12, 2019 @10:30AM (#18891541)
Maybe they all put their loose change in a pot. Should last for a year or so!
Re:Government shutdown: TLS certificates not renewed, many w... by pas on Saturday January 12, 2019 @01:19PM (#18892479)
isn't there a free micro instance option? or it was only free for a year?
Re:Government shutdown: TLS certificates not renewed, many w... by wopian on Saturday January 12, 2019 @02:01PM (#18892702)
micro (750 hours/mo) is part of the first 12 months free.
Re:Government shutdown: TLS certificates not renewed, many w... by Waterluvian on Saturday January 12, 2019 @09:00AM (#18891171)
Maybe. I know nothing about the offerings of these sites but they may be replacing interactive sites where you can access services with a static page.
Re:Government shutdown: TLS certificates not renewed, many w... by tyingq on Saturday January 12, 2019 @09:09AM (#18891211)
The page seems to be coming from S3, I see "Server: AmazonS3" in the headers, and some other typical Amazon headers. Also has Google Analytics, which is interesting for a Government website.
Re:Government shutdown: TLS certificates not renewed, many w... by Xylakant on Saturday January 12, 2019 @08:49AM (#18891137)
Some of these pages are on he HSTS preload list. Browsers won’t let you manually click through to accept the expired cert. Those are effectively down for all intents and purposes.
Re:Government shutdown: TLS certificates not renewed, many w... by willstrafach on Saturday January 12, 2019 @12:15PM (#18892123)
> They're not down and this definitely doesn't compromise the encryption that protects any login credentials

That is precisely what it does. Serving an invalid certificate and requiring user click-through allows for a man in the middle attacker to inject their own certificate without further error and will therefore be able to intercept login credentials.

Re:Government shutdown: TLS certificates not renewed, many w... by renholder on Saturday January 12, 2019 @09:13AM (#18891223)
>Anyway, it is embarassing to see certificate renewal is not automated - it's something any good sysadmin would have set up.

From the original article[1]: "One such example is https://ows2.usdoj.gov, a U.S. Department of Justice website which uses a certificate that expired in the week leading up the shutdown. The certificate has been signed by a trusted certificate authority, GoDaddy, but it has not been renewed since it expired on 17 December 2018."

It was probably already renewed, there's just no sysadmin to import the fresh cert. =]

[1] - https://news.netcraft.com/archives/2019/01/10/gov-security-f...

Re:Government shutdown: TLS certificates not renewed, many w... by Operyl on Saturday January 12, 2019 @09:39AM (#18891331)
You can probably verify this yourself with crt.sh! I’m on mobile and busy, but it’s a fun game mucking through the certificates for various domain names.
Re:Government shutdown: TLS certificates not renewed, many w... by lol768 on Saturday January 12, 2019 @02:30PM (#18892845)
Re:Government shutdown: TLS certificates not renewed, many w... by panarky on Saturday January 12, 2019 @12:55PM (#18892359)
> it is embarrassing to see certificate renewal is not automated

It's also pretty irresponsible to let certs get this close to expiration. Why weren't they renewed 60 days ago?

Re:Government shutdown: TLS certificates not renewed, many w... by eli on Saturday January 12, 2019 @08:49AM (#18891135)
They can’t spend any money right now, it would have to be prepaid not just auto-renewed
Re:Government shutdown: TLS certificates not renewed, many w... by Xylakant on Saturday January 12, 2019 @08:50AM (#18891139)
It could also be free and automated (let’s encrypt)
Re:Government shutdown: TLS certificates not renewed, many w... by deberon on Saturday January 12, 2019 @09:43AM (#18891353)
Let’s Encrypt is used on some government sites like cloud.gov. It’s probably not reasonable for us to expect all government sites to be using it by now.
Re:Government shutdown: TLS certificates not renewed, many w... by walshemj on Saturday January 12, 2019 @02:49PM (#18892922)
No these days with the way browsers handle certs its effectively down.

I handed this for one of the major beverage brands recently it was flagged when GA showed a massive decline - luckily it was one of the smaller noncore brands.

Re:Government shutdown: TLS certificates not renewed, many w... by TomK32 on Saturday January 12, 2019 @08:40AM (#18891108)
I've dealt with expired ssl certs on api servers run by school districts and no, they don't automate this stuff, neither do i for my own servers, shamefully.
Re:Government shutdown: TLS certificates not renewed, many w... by lowercased on Saturday January 12, 2019 @09:40AM (#18891334)
i did some work for my state, and I couldn't automate ssl stuff, because the dept who handled the certs didn't provide for automation to be consumed - I got emailed certs (IIRC - been a couple of years now).

By contrast, for most projects, I have standard cert/le automatically updating every 2-3 months. LE was just becoming a thing a couple years ago, and they'd never heard of it. I'm not saying they should all use LE, but the initial time investment of providing an automated process to renew and update via API would pay dividends in the long run (but the people that feel that the most don't have the clout/power to lobby for such things, usually).

Re:Government shutdown: TLS certificates not renewed, many w... by theartfuldodger on Saturday January 12, 2019 @12:27PM (#18892184)
I work with many large health and insurance companies, although we recommend that this be automated and are fully capable, internal IT staff at the companies seem to need to complicate the matter for job security and require they are involved although we do all the certain, often they are delayed in action due to either incompetence or other job duties.

Not surprising to me to see this is the case for local and federal govt too.

Re:Government shutdown: TLS certificates not renewed, many w... by lyagushka on Saturday January 12, 2019 @11:10AM (#18891765)
One thing that the shutdown is doing is exposing were we have over dependencies on government.