Dr Silvio Cesare
InfoSect, Canberra's hackerspace, regularly runs public group sessions to perform code review and vulnerability discovery. Over the next 30 days, I'll highlight the source code of 30 unknown vulnerabilities.
Bug #10
ltris game never drops privs and writes to files. Similar to http://blog.infosectcbr.com.au/2018/02/infosects-month-of-pointless-bugs-5.html and http://blog.infosectcbr.com.au/2018/02/infosects-month-of-pointless-bugs-7.html
void config_check_dir()
{
#ifdef DISABLE_INSTALL
sprintf( config.dir_name, "." );
#else
snprintf( config.dir_name, sizeof(config.dir_name)-1, "%s/%s", getenv( "HOME" ), CONFIG_DIR_NAME );
#endif
if ( opendir( config.dir_name ) == 0 ) {
fprintf( stderr, "couldn't find/open config directory '%s'\n", config.dir_name );
fprintf( stderr, "attempting to create it... " );
#ifdef WIN32
mkdir( config.dir_name );
#else
mkdir( config.dir_name, S_IRWXU );
#endif
if ( opendir( config.dir_name ) == 0 )
fprintf( stderr, "failed\n" );
else
fprintf( stderr, "ok\n" );
}
}
Exploiting the Lorex 2K Indoor Wifi at Pwn2Own Ireland
Introduction In October InfoSect participated in Pwn2Own Ireland 2024 and successfully exploited the Sonos Era 300 smart speaker and Lor...
-
InfoSect has always been committed to fostering diversity and inclusion within the cybersecurity industry, with a special focus on encourag...
-
Summary This is the next part of the C++ memory corruption series*. In this post, we'll look at corrupting the std:string object in L...
-
Syed Faraz Abrar @farazsth98 Summary In this blog post, I will provide some details on how the Chromium developers implemente...