Ausnahme gefangen: SSL certificate problem: certificate is not yet valid ๐Ÿ“Œ Turtlapp was recently audited

๐Ÿ  Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeitrรคge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden รœberblick รผber die wichtigsten Aspekte der IT-Sicherheit in einer sich stรคndig verรคndernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch รผbersetzen, erst Englisch auswรคhlen dann wieder Deutsch!

Google Android Playstore Download Button fรผr Team IT Security



๐Ÿ“š Turtlapp was recently audited


๐Ÿ’ก Newskategorie: Linux Tipps
๐Ÿ”— Quelle: reddit.com

https://turtlapp.com/ is known as a The secure, collaborative notebook. It is a small project which is considered for note taking and can be used as note taking with real-time sync.

AUDIT WAS DONE BY Johannes Hald.

I myself am a user of Turtl and I love the application but I really hope the developer fixes all the issues and find the help from the community he needs. I really wish him luck!

Here's the link to the blog post: https://turtlapp.com/2021/07/audit-of-turtl-core/

IDENTIFIED ISSUE:

  • The libsodium3wrapper sodiumoxide, provides an initialization function that ensures, among other things, thread-safety when accessing the PRNG. This PRNG is used to generate cryptographic key material used to secure data. Sodiumoxide is used in Turtl, but the initialization check is never performed. As such, the use of sodiumoxide poses a thread-unsafety risk. Turtl must include a check for correct initialization, whenever Turtl is launched.
  • It is possible for users to host their own Turtl servers. For this purpose, Turtlhas a configuration option intended to allow self-signed certificates. You can find it on the github as well as on the audit pdf (which I will link at the end of the thread) about for more information on how to.
  • Running cargo-audit7on the Turtl project reports 10 dependencies with security issues and other problems. These dependencies must be updated and a new Turtl version must be released.
  • Turtl randomly generates 12-byte nonces to be used with ChaCha20-Poly1305.This is considered unsafe, due to the risk of collision for a 12-byte nonce. If a collision occurs, a nonce-reuse scenario will break confidentiality and authenticity of data encrypted with the corresponding key.

โ€‹

pub fn encrypt(key: &Key, plaintext: Vec<u8>, op: CryptoOp) -> CResult<Vec<u8>> { let version = CRYPTO_VERSION; match op.algorithm { "chacha20poly1305" => { let nonce = match op.nonce { Some(x) => x, None => low::chacha20poly1305::random_nonce()?, } 

This can be avoided by either using an incremental nonce, or switching to theXChaCha20-Poly1305 construction, for which it is save to randomly generate nonces.

  • When a user logs in to Turtl, their email and password will be used to derivea master key. This master key is, in part, used to construct the authentication token that authenticates the user to the Turtl server.

โ€‹

/// Generate a user's auth token given some variables or something pub fn generate_auth(username: &String, password: &String, version: u16) ->TResult<(Key, String)> {โ†ชโ†’ info!("user::generate_auth() -- generating v{} auth", version); let key_auth = match version { 0 => { let key = generate_key(username, password, version)?; let nonce_len = crypto::noncelen(); let nonce =(crypto::sha512(username.as_bytes())?)[0..nonce_len].to_vec();โ†ชโ†’ let pw_hash =crypto::to_hex(&crypto::sha512(&password.as_bytes())?)?;โ†ชโ†’ let user_record = String::from(&pw_hash[..]); let op = crypto::CryptoOp::new_with_nonce("chacha20poly1305",nonce)?;โ†ชโ†’ let auth_bin = crypto::encrypt(&key,Vec::from(user_record.as_bytes()), op)?;โ†ชโ†’ let auth = crypto::to_hex(&auth_bin)?; (key, auth)} _ => return TErr!(TError::NotImplemented), }; Ok(key_auth) } 

The above function defines the generation of aforementioned authentication tokens. When sent over an insecure channel, these authentication tokens may leak whether or not a user has changed their password, by comparing two different authentication tokens, because the nonce is a hash of the username. The authentication tokens are also not session-dependent. This means, an attacker may record an authentication token for a given user at one point, and use it to impersonate the user at a later time. The above is possible, only if the server and client do not communicate securely using TLS. In general, the design of these tokens seem unnecessarily complex, which is why the recommendation is to move to another authentication token form at altogether (such as PASETO or Branca) or simply authenticate the user based on password hashes instead.

Suggested Improvements:

  1. Set size-limit for files or encrypt them in chunks.
  2. Document that backups are not encrypted.
  3. Make the salt used for generating invite keys random.
  4. Add additional protections for the key type.
  5. Weak minimum length requirement for password.

SUMMARY:

It was found that Turtl currently lacks security-related maintenance updates. A number of dependencies are affected by reported security issues, which may put user-data at risk.Even though TLS between server and client is optional, the security of communication between the two, relies heavily upon the use of it. Turtl should not be used without TLS and, according to the developers of Turtl, TLS is also highly recommended. Further, the Turtl server should not currently be used with self-signed certificates (see TURTL-002).

LINKS:

Application: Website, Download

Blogpost: https://turtlapp.com/2021/07/audit-of-turtl-core/

Security Audit report: https://turtlapp.com/files/turtl_audit_2021-05-05.pdf

Auditor's blogpost: https://brycx.github.io/2021/05/02/turtl-audit.html

Auditor's website: https://brycx.github.io/

submitted by /u/aaronryder773
[link] [comments] ...



๐Ÿ“Œ Turtlapp was recently audited


๐Ÿ“ˆ 85.02 Punkte

๐Ÿ“Œ Half of Audited JavaScript Projects Contained a Vulnerability


๐Ÿ“ˆ 31.83 Punkte

๐Ÿ“Œ Has anyone been audited for a site they work at alone?


๐Ÿ“ˆ 31.83 Punkte

๐Ÿ“Œ Are there any Linux distributions that are 100% audited?


๐Ÿ“ˆ 31.83 Punkte

๐Ÿ“Œ Active Attacks are Exploiting recently Patched Flash Flaw (May 23, 2016)


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ FruityArmor APT Group Used Recently Patched Windows Zero Day


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Bought a car recently? Millions of dealership customer details found online


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Active Attacks are Exploiting recently Patched Flash Flaw (May 23, 2016)


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ FruityArmor APT Group Used Recently Patched Windows Zero Day


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Bought a car recently? Millions of dealership customer details found online


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ 100,000+ WordPress webpages defaced as recently patched vulnerability is exploited


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Recently patched Microsoft Word exploit was used by both governments and criminal hackers


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Trojan Uses Recently Disclosed UAC Bypass to Install Fake Chrome Browser


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Yahoo Explains Why It Recently Disable Automatic Forwarding On Yahoo Mail; Reinstates the Feature


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Chinese Electronics Firm to Recall its Smart Cameras recently used to Take Down Internet


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Has anyone else been recently forced to verify their e-mail on Github?


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ 8/23/18 Recently Patched VBScript Exploited | AT&T ThreatTraq


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Users who switched to KDE recently, how is your experience so far?


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Do you ever need to quickly and easily parallelize a script? If so, you may be interested in this tool I recently wrote.


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ 6 Major Countries Have Recently Announced Plans To Phase-Out All Coal-Fired Power Plants


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Twitter Admits It Recently Overcharged For Ads


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Recently-Patched Adobe ColdFusion Flaw Exploited By APT


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Trojan Uses Recently Disclosed UAC Bypass to Install Fake Chrome Browser


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Yahoo Explains Why It Recently Disable Automatic Forwarding On Yahoo Mail; Reinstates the Feature


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Chinese Electronics Firm to Recall its Smart Cameras recently used to Take Down Internet


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Strawberry Music Player - A fork of Clementine i recently stumbled upon


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Adobe and Cisco Release Patches for Recently Discovered CRITICAL Vulnerabilities


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ 6 Major Countries Have Recently Announced Plans To Phase-Out All Coal-Fired Power Plants


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ Twitter Admits It Recently Overcharged For Ads


๐Ÿ“ˆ 14.21 Punkte

๐Ÿ“Œ I recently switched to kubuntu from windows 10 and yes it is really something much better. God bless linux.


๐Ÿ“ˆ 14.21 Punkte











matomo