#toctou — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #toctou, aggregated by home.social.
-
CW: CW: Gaming Exploitation / Pokemon Sword & Shield
I am sure Defcon.Social will appreciate this post.
I have been playing Pokémon Shield after not having played it for years. I started a new save and transferred my legendary Pokémon using Pokémon Home, completed the DLCs, caught Regigigas, and then decided I was interested in Pokémon breeding for competitive play.
An interesting tactic for breeding involves catching a 4 - 6 IV Ditto in a max raid den since it can breed with most pokemon, having Ditto hold a destiny knot to force 5/6 of the parent IVs down to the hatchling, and having the species being bred hold an everstone to force the nature (e.g., "Jolly" or "Adamant") to the hatchling. This effectively allows you to breed 4 - 6 IV Pokémon for competitive play without the Pokémon being considered "artificially created" (AKA "hacked" or "genned" Pokémon).
The method for catching Ditto without wasting wishing pieces involves manipulating the NTP server/system clock during an active matchmaking session. By using your wishing piece on a max den that specifically spawns Ditto when it gets the purple beam (1/10 chance), you can force the Ditto spawn by exploiting a TOCTOU (Time-of-Check to Time-of-Use) logic vulnerability in the local hardware calendar sync and game save mechanics.
The process works like this:
1. Turn off date/time autosync and roll back the clock to a date around 2020.
2. Turn the in-game text speed to "slow."
3. Use your wishing piece on the max den:
If maxDenBeam == purple:
proceed and catch Ditto
Else:
Close game before saveIf gameClosed == true:
Roll date ahead 48 hours && restart gameYou repeat this process until you catch a Ditto to your liking for breeding purposes. By closing the game before it saves when you get a red beam, you don't waste any of your valuable wishing pieces.
Why this matters from a security perspective:
This exploit perfectly demonstrates how malicious actors can abuse completely benign, built-in system configurations without needing third-party tools, malware, or hardware modifications.
#cybersecurity #TOCTOU #Exploits #AdversarialThinking #pokemon
-
Race Condition в веб-приложениях: три типа уязвимости и как их находить
Для начала разберёмся, что такое Race Condition и почему эта уязвимость заслуживает внимания. Race Condition — это класс уязвимостей, которые возникают из-за того, что сервер обрабатывает несколько запросов одновременно без должной синхронизации. Когда два или более запроса приходят на сервер в один и тот же момент и затрагивают одни и те же данные, между ними происходит коллизия. Результаты такой коллизии могут быть разными — от незначительных багов до критических уязвимостей, которые позволяют обойти проверки безопасности, списать средства дважды, получить доступ к чужому аккаунту или превысить установленные лимиты. Перейдём к тому, какие виды этой уязвимости вообще бывают. Можно выделить 3 вида:
https://habr.com/ru/articles/1044830/
#Race_Condition #гонка_состояний #TOCTOU #веббезопасность #bug_bounty #Burp_Suite #Turbo_Intruder #singlepacket_attack #account_takeover #уязвимости
-
[Перевод] 44 CVE в uutils: что Rust ловит, а что нет на границе с системой
В апреле 2026 года Canonical раскрыла 44 CVE в uutils . Это переписанная на Rust версия GNU coreutils, которая в Ubuntu идёт по умолчанию с 25.10. Раскрытие пришло из внешнего аудита, заказанного перед релизом 26.04 LTS. Большую часть уязвимостей нашли обычным ревью кода. Ни borrow checker, ни проверки clippy , ни cargo audit не поймали ни одной. Этот аудит, пожалуй, самый чёткий из существующих примеров того, что Rust ловит, а что нет. Самый внятный разбор списка сделал Маттиас Эндлер в посте «Bugs Rust Won’t Catch» от 29 апреля. Эндлер ведёт консалтинг corrode и подкаст Rust in Production ; недавно у него в гостях был Джон Сигер, вице-президент по инженерии в Canonical. Пост построен как разбор того самого раскрытия: 44 CVE распределены по восьми категориям; к большинству приложен git diff фикса. Ниже разберу каркас Эндлера и добавлю два аргумента сверху. Первый: один из мейнтейнеров GNU coreutils в HN-треде показал бенчмарк, на котором рекомендованный Эндлером фикс не выживает. Второй: структурный аргумент про то, что 40 лет наслоённых POSIX-шрамов делают с любой переписью, независимо от языка.
https://habr.com/ru/articles/1031420/
#rust #cve #uutils #coreutils #canonical #ubuntu #toctou #безопасность #системное_программирование
-
Ящик пAMDоры — изучаем AMD PSP
Помните переполох с Intel ME , что устроили наши коллеги из PT SWARM? Тот, где в проприетарной прошивке, которая имеет максимальный доступ к вашей системе, обнаружили уязвимость, вследствие чего можно запустить свой код, включить отладку и, вообще, сделать с чипсетом практически всё, что заблагорассудится? Теперь такое же можно проделать и с AMD! Мы в Positive Labs решили разобраться в ситуации и исследовать ту самую плату, на которой недавно нашли уязвимость.
https://habr.com/ru/companies/pt/articles/979470/
#sony_playstation_5 #amd #toctou #ps5 #raspberry_pi_pico #positive technologies #реверсинжиниринг
-
Woah woah woah. Not my gaming box!!!
https://www.securityweek.com/asus-armoury-crate-vulnerability-leads-to-full-system-compromise/
-
Woah woah woah. Not my gaming box!!!
https://www.securityweek.com/asus-armoury-crate-vulnerability-leads-to-full-system-compromise/
-
My husband says he just accidentally discovered that in Oblivion Remastered, if you shoot an arrow while sneaking and then hotkey to a dagger before the arrow connects, you get the dagger's much larger sneak attack multiplier.
that's a real Classic of Bug right there
-
My husband says he just accidentally discovered that in Oblivion Remastered, if you shoot an arrow while sneaking and then hotkey to a dagger before the arrow connects, you get the dagger's much larger sneak attack multiplier.
that's a real Classic of Bug right there
-
Wieder etwas neues über #SecureCoding gelernt: Mir war #TOCTOU bisher kein Begriff in der #ItSecurity https://www.heise.de/hintergrund/Secure-Coding-CWE-377-TOCTOU-Race-Conditions-in-den-Griff-bekommen-10081613.html
-
Critical Nvidia Container Flaw Exposes Cloud AI Systems to Host Takeover https://www.securityweek.com/critical-nvidia-container-flaw-exposes-cloud-ai-systems-to-host-takeover/ #ArtificialIntelligence #Vulnerabilities #CloudSecurity #CVE20240132 #HuggingFace #Kubernetes #Featured #NVIDIA #TOCTOU #Wiz
-
Critical Nvidia Container Flaw Exposes Cloud AI Systems to Host Takeover https://www.securityweek.com/critical-nvidia-container-flaw-exposes-cloud-ai-systems-to-host-takeover/ #ArtificialIntelligence #Vulnerabilities #CloudSecurity #CVE20240132 #HuggingFace #Kubernetes #Featured #NVIDIA #TOCTOU #Wiz
-
Critical Nvidia Container Flaw Exposes Cloud AI Systems to Host Takeover https://www.securityweek.com/critical-nvidia-container-flaw-exposes-cloud-ai-systems-to-host-takeover/ #ArtificialIntelligence #Vulnerabilities #CloudSecurity #CVE20240132 #HuggingFace #Kubernetes #Featured #NVIDIA #TOCTOU #Wiz
-
Critical Nvidia Container Flaw Exposes Cloud AI Systems to Host Takeover https://www.securityweek.com/critical-nvidia-container-flaw-exposes-cloud-ai-systems-to-host-takeover/ #ArtificialIntelligence #Vulnerabilities #CloudSecurity #CVE20240132 #HuggingFace #Kubernetes #Featured #NVIDIA #TOCTOU #Wiz
-
CWE-377 – Insecure Temporary File in Java
In software development, temporary files are often used to store data temporarily during an application’s execution. These files may contain sensitive information or be used to hold data that must be processed or passed between different parts of a program. However, if these temporary files are not managed securely,
https://svenruppert.com/2024/08/21/cwe-377-insecure-temporary-file-in-java/
#Java #SecureCodingPractices #Security #CWE377 #TOCTOU -
CWE-377 – Insecure Temporary File in Java
In software development, temporary files are often used to store data temporarily during an application’s execution. These files may contain sensitive information or be used to hold data that must be processed or passed between different parts of a program. However, if these temporary files are not managed securely,
https://svenruppert.com/2024/08/21/cwe-377-insecure-temporary-file-in-java/
#Java #SecureCodingPractices #Security #CWE377 #TOCTOU -
@lobocode The first hunk is classic #TOCTOU ... you already check whether fopen() succeeds, there's no way to "do better". Between your check with access() and opening with fopen(), anything about the file could change.
(edit: Ok, not "classic", the classic TOCTOU would be omitting the check on fopen() assuming it MUST succeed after checking with access(), which would be plain wrong. Your variant is just a bit of unnecessary code 😉)
-
@lobocode The first hunk is classic #TOCTOU ... you already check whether fopen() succeeds, there's no way to "do better". Between your check with access() and opening with fopen(), anything about the file could change.
(edit: Ok, not "classic", the classic TOCTOU would be omitting the check on fopen() assuming it MUST succeed after checking with access(), which would be plain wrong. Your variant is just a bit of unnecessary code 😉)
-
The Quest to Secure chown and symlinks
https://buildkite.com/blog/paved-with-good-intentions-the-story-of-fix-buildkite-agent-builds-permissions
#ycombinator #Security #TOCTOU #Symlink #chown #chroot_jail #file_permissions