News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Security vulnerability

Started by m4ko, March 26, 2020, 10:20:17 AM

Previous topic - Next topic

m4ko

Hello,

I am a security researcher and I have Discovered a security vulnerability in the Code::Blocks IDE 17.12 (newest version). It's a high severity Remote Code Execution vulnerability.

Where do I report it?

raynebc

The first thing you'd want to do is see if it's been fixed in the years since the 17.12 release.  Newer pre-release builds are here:
http://forums.next.codeblocks.org/?board=20.0

oBFusCATed

PM me. But I doubt there is anything "serious"/fixable. After all C::B is executing compilers/linkers which generate executables, so it is insecure by nature :)
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

sodev

Quote from: m4ko on March 26, 2020, 10:20:17 AM
Remote Code Execution vulnerability

I wonder though how can you access something remotely of CodeBlocks? After all it is a desktop application without any server functionality?

stahta01

Quote from: sodev on March 26, 2020, 09:08:53 PM
Quote from: m4ko on March 26, 2020, 10:20:17 AM
Remote Code Execution vulnerability

I wonder though how can you access something remotely of CodeBlocks? After all it is a desktop application without any server functionality?

I can see the non-working cb_koders plugin being a possible vector.
Or, the devpack plugin. Which is almost bad enough to call non-working.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

MortenMacFly



Quote from: m4ko on March 26, 2020, 10:20:17 AM
Where do I report it?

Please, report things like that to one of the devs/admins via personal message Thank you.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

oBFusCATed

Ticket 934 if you want to look at this.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]