Esa Jokinen

14 Followers
21 Following
39 Posts
Please consider direct messages on Mastodon as public; use email & PGP for important stuff.
Webhttps://esajokinen.net
GitHubhttps://github.com/oh2fih

Once upon a time there was a HTML attribute called Id. She had graduaded from the W3 University, specialized in specifying a unique identifier for an HTML element. For her sister, Class, it was much easier to make friends, as she was able to hang out with multiple elements at the same time. Eventually, Id was almost entirely forgotten, and everyone started to invite only Class to every web site party.

One day the testers were thinking it would be nice if there was someone who could give unique identifiers to HTML elements. They hired Mr. Data-Testid from Nonstandardistan for the job despite he was not formally qualified. Unemployed and sad, Id lived unhappily ever after.

(The moral of the story: there is no need to reinvent the wheel.)

#webdevelopment

Track changes in the CVE database (CVEProject / cvelistV5) `tail -f` style, also printing changes in the CVSS 3.1 scores. Written using only the Python Standard Library, the only external requirement being the Git binary.

#cve #cvelist #vulnerabilities #cvss #opensource

https://github.com/oh2fih/Misc-Scripts/blob/main/bin/follow-cvelist.py

Misc-Scripts/bin/follow-cvelist.py at main · oh2fih/Misc-Scripts

Miscellaneous scripts for different purposes. Mostly unrelated to each other. - oh2fih/Misc-Scripts

GitHub

CVE-Search v5.1.0 fixes bugs, improves interoperability with the CveXplore library and makes it easier to retry incomplete updates from the NVD API. Read the changelog carefully.

https://github.com/cve-search/cve-search/releases/tag/v5.1.0

Release cve-search v5.1.0 released with source improvements, bugs fixed and integrate latest version of CveXplore · cve-search/cve-search

cve-search v5.1.0 cve-search v5.1.0 released with source improvements, bugs fixed and integrate latest version of CveXplore. Changes Retire db_mgmt_[source].py (#1113) [Esa Jokinen] Caution! Poss...

GitHub

Let's Encrypt has made implementing DANE even more difficult. The root CA is no longer included in the chain, and the intermediates may change without notice. To address these issues, I wrote a script that automates TLSA record creation from the published intermediates.

#letsencrypt #dane #tlsa #certificatepinning

https://github.com/oh2fih/Misc-Scripts/blob/main/bin/letsencrypt-tlsa.sh

Misc-Scripts/bin/letsencrypt-tlsa.sh at main · oh2fih/Misc-Scripts

Miscellaneous scripts for different purposes. Mostly unrelated to each other. - oh2fih/Misc-Scripts

GitHub
The fact that OpenSSH's sshd_config keyword ClientAliveInterval is for detecting unresponsive connections does not change no matter how many times it is repeated that it would monitor the session activity.

Debunking this misinformation in
https://serverfault.com/a/1162840/274176
How to ensure that SSH drops the connection after 8 hours of inactivity?

On our Debian servers, I want to ensure that any SSH connections time out and disconnect after 8 hours. This was recommended by our security consultant. I executed these steps: # Log in as root then:

Server Fault

After some work on bug fixes & improvements for CVE-Search & CveXplore both finally have new releases. 🎉

https://github.com/cve-search/cve-search/releases/tag/v5.0.2

Release cve-search v5.0.2 released with many enhancements and bug fixes. · cve-search/cve-search

Release Notes for Version 5.0.2 (Released on 2024-04-13) This release of our software introduces a number of enhancements and bug fixes improving on our previous versions. Highlights include suppor...

GitHub

Valid characters in hostnames are `a-z`, `A-Z`, `-` and `.`. POSIX usernames can contain these and `_`. Windows is very liberal allowing also `' ! # ^ ~` – of which only `'` is problematic.

Yet, OpenSSH fixes CVE-2023-51385 by blacklisting shell metacharacters rather than whitelisting the possible characters. These functions are even named `valid_hostname()` & `valid_ruser()`, that are not semantically correct. This coding style attracts new vulnerabilities!

https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a

upstream: ban user/hostnames with most shell metacharacters · openssh/openssh-portable@7ef3787

This makes ssh(1) refuse user or host names provided on the commandline that contain most shell metacharacters. Some programs that invoke ssh(1) using untrusted data do not filter metacharacters i...

GitHub

How much easier it would be to fight these scams if the hotel industry including Booking.com stopped treating credit card information just like the scammers do. It is getting harder and harder to book accommodation because hotels seldom support protection technologies (Verified by Visa, MasterCard SecureCode or Amex SafeKey) but would like to charge the credit card the old-fashioned way. The rush on the final stage also resembles awful lot like the normal operation of legitimate booking sites.

https://www.kaspersky.com/blog/booking-com-hacked-hotel-accounts-scam-customers/50109/

Hacked hotel accounts on Booking.com

How scammers use compromised hotel accounts on Booking.com to steal banking data from the hotels’ clients.

Kaspersky
🇫🇮​ As of today, it is mandatory to validate the caller IDs of all Finnish (+358) phone numbers between Finnish operators, as Traficom's regulation 28 J/2022 became fully effective. This pretty much ends the called ID spoofing here. 🙌​
Many people still read their email in plain text, but even larger operators sometimes forget to proofread the unformatted versions of their newsletters. A funny residue of a placeholder text was found at the beginning of an announcement from @valimail 📬​