Critical Buffer Overflow Vulnerability in Opera v10.5 (unpatched)

Forums » Opera for Windows/Mac/Linux » Opera browser

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

4. March 2010, 22:46:57

ArcticAce

Posts: 17

Critical Buffer Overflow Vulnerability in Opera v10.5 (unpatched)

Opera "Content-Length" Processing Buffer Overflow Vulnerability

A vulnerability has been identified in Opera, which could be exploited by remote attackers to compromise a vulnerable system. This issue is caused by a buffer overflow error when processing malformed HTTP "Content-Length:" headers, which could be exploited by remote attackers to crash an affected browser or execute arbitrary code by tricking a user into visiting a web page hosted on a malicious web server.

Criticality level: Highly critical
Solution Status: Unpatched

http://secunia.com/advisories/38820/

6. March 2010, 13:57:25

YtseJam

Posts: 4660

From the article: "... Ford said Opera is in the process of pushing out an update that patches the bug."

I hope this can put this thread to rest.
Hebrew Forums Moderator | Hebrew Group

6. March 2010, 14:28:01

jiimbo

Posts: 1

For those interested in a POC for the crash

Opera 10.X Integer Overflow Cras PoC

6. March 2010, 14:37:55

prd3

Posts: 928

Originally posted by jiimbo:

For those interested in a POC for the crash


Everyone knows that it crashes. What's missing is evidence of code execution.

6. March 2010, 14:42:00

dave023

Posts: 17

just stay away from warez and pr0n sites and you shouldn't have anything to worry about

6. March 2010, 14:54:52

philharris

Posts: 36

Originally posted by dave023:

just stay away from warez and pr0n sites and you shouldn't have anything to worry about



Haha, for the average Opera user that is 'teh internetz'smile

6. March 2010, 14:59:31

prd3

Posts: 928

Originally posted by philharris:

Haha, for the average internet user that is 'teh internetz'smile


Fixed that for you up

6. March 2010, 15:07:07

philharris

Posts: 36

Originally posted by prd3:

Originally posted by philharris:

Haha, for the average internet user that is 'teh internetz'smile


Fixed that for you up



Thank you although I was just assuming the average Opera user was more technically minded and ... erm ... red blooded than the norm whistle

6. March 2010, 19:03:03

TetraNitro

Posts: 97

Originally posted by jiimbo:

For those interested in a POC for the crash

Opera 10.X Integer Overflow Cras PoC



Just a heads up to anyone trying this link: NOD32 intercepted it as a threat, and quarantined whatever happened before I was able to see it.

Don't know what to make of that (NOD preventing a crash? Not sure), but I thought I'd let people know.

6. March 2010, 20:20:54

lucideer

a B person

Posts: 5114

Originally posted by TetraNitro:

Don't know what to make of that


I would guess it was based on the url rather than the nature of the threat - that url is possibly blacklisted for normal Nod32 users, for obvious reasons.

6. March 2010, 20:45:32

TetraNitro

Posts: 97

Originally posted by lucideer:

Originally posted by TetraNitro:

Don't know what to make of that


I would guess it was based on the url rather than the nature of the threat - that url is possibly blacklisted for normal Nod32 users, for obvious reasons.



I would agree, but the NOD message was very clear about the action taken. It didn't block HTTP access, but instead quarantined a file that was in the cache of the browser. I've seen both occur, so I don't think it was a blacklisted domain, as the HTTP module wasn't what was acting up. It labeled the threat as a PHP exploit when I looked at the log files. It might be heuristics at work, on closer examination.

7. March 2010, 19:46:14

loblo

Posts: 45

Bump. Any fix at the horizon?

7. March 2010, 21:36:03

ytsmabeer

Frisian translator of Stuff

Posts: 1898

Originally posted by xErath:

DEP is enabled by default, you don't need to do anything about it.


On winxp afaik not enabled by default

7. March 2010, 21:36:20

xErath

javascript guru

Posts: 6588

Originally posted by HerwigF:

Seems it helps to enable DEP if supported by CPU/OS. If not... well... gonna wait for a patch.

DEP is enabled by default, you don't need to do anything about it.
For a collection of user scripts visit
http://my.opera.com/xErath/blog/

8. March 2010, 01:45:50

chaosDark

Posts: 7

But given the fact that DEP can be bypassed (both, software and hardware-enforced mode) relying on it isn't as good as it might sound.

8. March 2010, 02:04:52

Ichann

11010

Posts: 301

Yes the same thing happened to me. NOD does not like it

Originally posted by TetraNitro:

but the NOD message was very clear about the action taken



Yes seems like it is blocking a file

PHP/Exploit.Opiolo.A trojan


I am reluctant to turn of NOD and test is as per usual.

Originally posted by TetraNitro:

It might be heuristics at work, on closer examination.



I turned of both heuristics and advanced heuristics under realtime protection and the file is still detected.
[/SIZE]pera | Version

8. March 2010, 04:29:04

GeeZuS

Posts: 219

Originally posted by lksd:

I'm a normal user. I have visited this thread from link on Secunia advisory and I am shocked and disgusted with the attitudes shown here. I was expecting a discussion regarding this advisory because to me as to other people it seamed very convenient that this vulnerability has been reported 'now' and I'm concerned as it is reported as highly critical.



Yet instead of discussion about it I see people (dumb people) attacking Opera, arguing about PoC and validity of advisory itself. If you are sure there is no vulnerability then update status on Secunia. And one more thing, people yielding for moderator, can you imagine the monumental shit storm of the century that would began if posts begin to disappear from discussion about vulnerability?


Pretty much the only sensible person in here right now.

Opera has always been the one with the least exploits and the first to fix them. We'll get a fix soon, I wouldn't worry about it.
imagine accepting the truth

8. March 2010, 05:47:27

Pesala

Reclining Buddha

Posts: 25775

Originally posted by GeeZuS:

Opera has always been the one with the least exploits and the first to fix them. We'll get a fix soon, I wouldn't worry about it.


up

Not the only sensible person though.

Originally posted by lucideer:

This was reported yesterday.. give them time to breathe.


SkinsTipsButtonsBackupSecurityUser ScriptsLanguage ForumsWiki
Browser JSChangelogsOpera NextDragonflyBugsFTPDocument Courier
My WebsiteMy ForumsOpera ReviewMy FontsIrfanViewSearchDownloads
Opera 11.64 on Windows XP Home • AMD64 3500 1GB RAM specs idea
Rules of Conduct and Posting RulesPlease Don't ShoutEditing PostsOpera Config Links

8. March 2010, 07:29:32

davews

Posts: 467

On the subject of DEP, it should of course be remembered that MANY of us have motherboards which don't support it and hence it is not an option. DEP is a relatively recent development and many XP machines won't have it.

Personally I am not worried about this problem as it is most unlikely with normal browsing I would go anywhere near any sites infected with it. I also suspect it was deliberately announced around the time of 10.50's issue to harm Opera. Sadly there is a lot of negative feeling towards the browser in some quarters. Let us hope a fix comes out soon so we can move on from this hyped up distraction.

8. March 2010, 10:12:40

ytsmabeer

Frisian translator of Stuff

Posts: 1898

The fact is that no one has reproduced the Vulnerability.
Only a crash is reproduced.

If the Vulnerability finder just would contact Opera.
Or other people that can reproduce the Vulnerability

8. March 2010, 12:21:59

jp10558

Posts: 4163

Originally posted by chaosDark:

I'm all in favor of opera's browser, it is a great product, but posts like this where everyone accuse the other without bringing facts to the table (again, it works for both, those supporting and those against) is something that just hurt the security process.


I think it is important to distinguish between random community members *who don't work for Opera* from Opera's own response. So far, I suppose you could find fault with Havarrd only said it didn't look exploitable, but I'm not sure what else he could back that up with? They checked it and didn't find an exploit and asked if anyone has an exploit for it...
Opera 12; Windows 7 x64 SP1; Intel Xeon W3550; 12GB DDR 1333; 3.5M/128k DSL ; Comodo IS 5.10;Proxomitron 4.5j Sidki 2010-10, Custom Filters;
Journal

8. March 2010, 16:09:35

TetraNitro

Posts: 97

Originally posted by jiimbo:

For those interested in a POC for the crash

Opera 10.X Integer Overflow Cras PoC



Sorry to bring this up again, but can anyone confirm (CAREFULLY, of course!) whether or not this is actually a trojan, as NOD says it is? I realize it might be unrelated to the larger discussion if someone's just taking advantage of the situation, but either way if it's a real piece of malware, I need to take a closer look at my system.

8. March 2010, 16:40:13

genegold

Posts: 380

Got an email this morning from Secunia with a link to their new blog entry about this (http://secunia.com/blog/86):

Confusion about Opera vulnerability
16:55 CET on the 8th March 2010. Entry written by Carsten Eiram.

There has lately been some confusion about a vulnerability reported in
the Opera browser and rightly so based on the different statements
having been issued.

The vulnerability was reported as an integer overflow when processing
the "Content-Length" header and accompanied by a PoC that always
crashed when copying memory due to an overly large size. Based on the
provided PoC and report, it immediately seemed like the crash would
always occur and executing code would not be possible.

Before issuing a Secunia advisory, a security specialist was tasked
with thoroughly analysing the vulnerability report, cause of the crash,
and potential impact. It turned out that the vulnerability is not
caused by an integer overflow error. Instead, in certain cases when a
64-bit "Content-Length" value is interpreted as negative, the higher
32-bit value is ignored and lower 32-bit value is used to copy data. It
is, therefore, possible to manipulate the size value in a manner to
successfully corrupt memory and occasionally cause conditions where it
is possible to gain control of the execution flow.

At least one other site did, as usual, abuse the opportunity to hype
the vulnerability and refer to it as a 0-day, which is misleading as no
working exploit has been published nor is the vulnerability being
actively exploited. Instead, it was an uncoordinated (commonly termed:
"irresponsible") disclosure as the vulnerability report was published
without the reporter first informing the vendor.

Adding to the confusion, Opera Software's initial analysis of the
vulnerability concluded that it was not a vulnerability and this was
communicated on the Opera Software forum and to the media. Opera
Software also contacted Secunia, asking us to update our advisory or
alternatively that we provide them with additional information.

During the past days, we have, therefore, been working with Opera
Software and providing them with details to clarify that the threat is
not just a crash, but has code execution potential. Opera Software has
acknowledged to us that they are now handling it as a security issue
and will be issuing an advisory and fix as soon as possible.

Stay Secure,

Carsten Eiram
Chief Security Specialist

9. March 2010, 00:59:33

chaosDark

Posts: 7

Originally posted by jp10558:

Originally posted by chaosDark:

I'm all in favor of opera's browser, it is a great product, but posts like this where everyone accuse the other without bringing facts to the table (again, it works for both, those supporting and those against) is something that just hurt the security process.


I think it is important to distinguish between random community members *who don't work for Opera* from Opera's own response. So far, I suppose you could find fault with Havarrd only said it didn't look exploitable, but I'm not sure what else he could back that up with? They checked it and didn't find an exploit and asked if anyone has an exploit for it...



I didn't found fault in Havarrd's response and that quote wasn't referring to Havarrd neither, nor I was hopping, at that moment, something to back up if there was an exploitable condition or not.

My concern was how quickly several posts discarded the advisories based on nothing more than 'what have been seen', the browser crashed, that's what everyone saw and thus (being just a crash) can't be considered a security problem, possible exploitable condition or something worthy to be treated anything different that 'just a crash' (because nobody saw anything different).

That was my concern and the quote was referring to just that.

Reading now secunia's new post, I guess my concerns weren't as misleading.

9. March 2010, 04:11:09

Chas4

Operaaholic

Posts: 1107

Originally posted by xErath:

DEP is enabled by default, you don't need to do anything about it.


It is but you can still go in and set to " Enable DEP for all programs on your computers "

How to Configure Memory Protection in Windows XP SP2 (same in SP3)
http://technet.microsoft.com/en-us/library/cc700810.aspx

Also People on XP SP2 should update to SP3 now as SP2 is being dropped in June


Why Open the Web?

Despite the connecting purpose of the Web, it is not entirely open to all of its users. When used correctly, HTML documents can be displayed across platforms and devices. However, many devices are excluded access to Web content.

http://my.opera.com/community/openweb/info/

10. March 2010, 05:03:52

Superfluid

Now with superstrings!

Posts: 4477

LINK



Secunia Blog

The Secunia Blog is used to communicate our opinions about vulnerabilities, security, ethics, and our responses to articles, research papers, and other blog entries regarding Secunia and vulnerabilities.


Confusion about Opera vulnerability
16:55 CET on the 8th March 2010. Entry written by Carsten Eiram.

There has lately been some confusion about a vulnerability reported in the Opera browser and rightly so based on the different statements having been issued.

The vulnerability was reported as an integer overflow when processing the "Content-Length" header and accompanied by a PoC that always crashed when copying memory due to an overly large size. Based on the provided PoC and report, it immediately seemed like the crash would always occur and executing code would not be possible.

Before issuing a Secunia advisory, a security specialist was tasked with thoroughly analysing the vulnerability report, cause of the crash, and potential impact. It turned out that the vulnerability is not caused by an integer overflow error. Instead, in certain cases when a 64-bit "Content-Length" value is interpreted as negative, the higher 32-bit value is ignored and lower 32-bit value is used to copy data. It is, therefore, possible to manipulate the size value in a manner to successfully corrupt memory and occasionally cause conditions where it is possible to gain control of the execution flow.

At least one other site did, as usual, abuse the opportunity to hype the vulnerability and refer to it as a 0-day, which is misleading as no working exploit has been published nor is the vulnerability being actively exploited. Instead, it was an uncoordinated (commonly termed: "irresponsible") disclosure as the vulnerability report was published without the reporter first informing the vendor.

Adding to the confusion, Opera Software's initial analysis of the vulnerability concluded that it was not a vulnerability and this was communicated on the Opera Software forum and to the media. Opera Software also contacted Secunia, asking us to update our advisory or alternatively that we provide them with additional information.

During the past days, we have, therefore, been working with Opera Software and providing them with details to clarify that the threat is not just a crash, but has code execution potential. Opera Software has acknowledged to us that they are now handling it as a security issue and will be issuing an advisory and fix as soon as possible.

Stay Secure,

Carsten Eiram
Chief Security Specialist

And like smoke, we were gone...

10. March 2010, 08:49:02 (edited)

Ichann

11010

Posts: 301

Originally posted by TetraNitro:

Sorry to bring this up again, but can anyone confirm (CAREFULLY, of course!) whether or not this is actually a trojan, as NOD says it is? I realize it might be unrelated to the larger discussion if someone's just taking advantage of the situation, but either way if it's a real piece of malware, I need to take a closer look at my system.



Guess it is time to fire up the old VM image. I will test with no AV then load a new snapshot then install avast then test again.

Originally posted by davews:

On the subject of DEP, it should of course be remembered that MANY of us have motherboards which don't support it and hence it is not an option. DEP is a relatively recent development and many XP machines won't have it.



Its more of a 'Does my CPU support DEP' . You might be confusing it with TPM
If Hardware DEP is not detected, then software DEP is turned on for default for critical windows programs and system files. To get a wider protection spectrum, global settings need to be turned on for all software from different vendors. As chase 4 pointed out that is the reconmended way to turn on DEP (Process is the same in all windows NT based system and Newer versions)

You can refer to this to article to check wether the desired DEP setting is being aplied.
[/SIZE]pera | Version

10. March 2010, 09:27:00

Krake

Posts: 2413

Originally posted by TetraNitro:


Sorry to bring this up again, but can anyone confirm (CAREFULLY, of course!) whether or not this is actually a trojan,...


Nope, it's not.
Every morning in Africa, a gazelle wakes up. It knows it must run faster than the fastest lion or it will be killed.
Every morning a lion wakes up. It knows it must outrun the slowest gazelle or it will starve to death.
It doesn't matter whether you are a lion or a gazelle: when the sun comes up, you'd better be running.

10. March 2010, 09:44:15

tareqf1

Posts: 77

First time seeing Opera has a serious bugs that still unpatched.
this is also posted on Betanews.com today.

10. March 2010, 09:58:56

prd3

Posts: 928

Originally posted by tareqf1:

First time seeing Opera has a serious bugs that still unpatched.


What do you mean "still"? All serious bugs will be unpatched for a few days while a fix is made. If this is the first time you have seen a security flaw in Opera, you haven't been around for very long.

10. March 2010, 09:59:24

ytsmabeer

Frisian translator of Stuff

Posts: 1898

it was an uncoordinated (commonly termed: "irresponsible") disclosure as the vulnerability report was published without the reporter first informing the vendor.


Indeed always inform the vender first

10. March 2010, 11:27:31 (edited)

Ichann

11010

Posts: 301

Originally posted by Krake:

Nope, it's not.



so you are calling fp?

Guess testng exploits cannot really be classified as a trojan can it?

This is not suppose to crash the browser is it? I disabled security and such and my browser didnt crash. I'm guessing system wide DEP is mitigatting it? <Nope doesnt crash under normal settings either. Must be the hardware DEP kicking in.

Your computer's processor supports hardware based-DEP

[/SIZE]pera | Version

10. March 2010, 16:08:12

Chas4

Operaaholic

Posts: 1107

Trojans are malware related and crashes are not always related to malware


Why Open the Web?

Despite the connecting purpose of the Web, it is not entirely open to all of its users. When used correctly, HTML documents can be displayed across platforms and devices. However, many devices are excluded access to Web content.

http://my.opera.com/community/openweb/info/

10. March 2010, 16:32:40

HerwigFdeleted

Banned user

Originally posted by xErath:

DEP is enabled by default, you don't need to do anything about it.


Sorry but this is not true. By default in Windows XP, Vista and 7, DEP is enabled for Windows only, not for applications like Opera and others.

Furthermore, the CPU must support it. By far not all computers support DEP today. So relying on DEP as a protection would be absolutely dangerous.

Anyway, the Content-Length problem definitvely is a bug and has to be fixed, so why messing around?!

10. March 2010, 17:57:04

Krake

Posts: 2413

Originally posted by Ichann:

so you are calling fp?


You will have to ask the NOD people why the POC gets labeled as trojan.
Only reason I can think of is that they consider the code an attack vector worth to be blocked.

Originally posted by Chas4:

Trojans are malware related ...


Trojan = malware
Every morning in Africa, a gazelle wakes up. It knows it must run faster than the fastest lion or it will be killed.
Every morning a lion wakes up. It knows it must outrun the slowest gazelle or it will starve to death.
It doesn't matter whether you are a lion or a gazelle: when the sun comes up, you'd better be running.

10. March 2010, 18:13:54

Chas4

Operaaholic

Posts: 1107

Originally posted by Krake:

Trojan = malware


So are viruses and so is spyware


Why Open the Web?

Despite the connecting purpose of the Web, it is not entirely open to all of its users. When used correctly, HTML documents can be displayed across platforms and devices. However, many devices are excluded access to Web content.

http://my.opera.com/community/openweb/info/

10. March 2010, 18:39:28

xErath

javascript guru

Posts: 6588

Originally posted by HerwigF:

Sorry but this is not true. By default in Windows XP, Vista and 7, DEP is enabled for Windows only, not for applications like Opera and others.


It is true because Opera explicitly enables DEP for itself, if the feature is available of course.
For a collection of user scripts visit
http://my.opera.com/xErath/blog/

11. March 2010, 11:57:27

Ichann

11010

Posts: 301

Originally posted by HerwigF:

Furthermore, the CPU must support it



Not necessarily. If the CPU does not support it windows falls to a software layer

Originally posted by Chas4:

Trojans are malware related and crashes are not always related to malware



Was that directed at me? If so. Yes, crashes can be caused by numerous factors. But my browser doesn't crash WHY?
[/SIZE]pera | Version

11. March 2010, 12:14:34

LeoCG

Posts: 8854

Originally posted by tareqf1:

First time seeing Opera has a serious bugs that still unpatched.



Because it's the first time that a problem like that was disclosured before Opera had a chance to fix it. And also, the first information about the problem lead Opera to think it was not a secure issue.

Leo CG

Opera Next 15 @ Windows 8 Pro X64
Intel Q6600 - 6GB Ram
Nvidia Geforce GT520 1GB

16. March 2010, 22:36:25

friguron

Frío y azul...

Posts: 628

Originally posted by browzer1:

Sorry .. I'm going to jump in here........ I cannot tolerate this anymore.

From TETRA ... re Purdi

"Do we have any moderators in this forum, or what? This guy has repeatedly and consistently been nothing but a screeching, hostile, belligerent troll who's main line of thinking is "I don't agree with your concerns, so you're a moron and shut up". His uninformed and venomous attitude even in the fact of appeals to reason and polite requests toward decency have been met with bile and personal attacks....... ".



Purdi or GoJoe or whoever you are ... new users come to these forums for assistance and are met with your hate and hostility.



I respectfully ask why the moderators are tolerating this?



In the same respectful mood for everyone and specially for moderators (seriously, no pun, no offense intended), I endorse you (browzer1) a big QFT and even a bigger +2000000.

(BTW, the new "nelsson -> Niqhead -> WhineWhine -> GoGoeGo -> WayOfTheBastard -> Purdi" is/will be this one:
http://my.opera.com/prd3/about/ , which seems the new account he's slowly migrating to, for the eventual ban he might suffer on "Purdi" and which BTW he seems to have been deserving for years, as it seems on the other accounts he has been using (now all banned/erased)...
)

Again, it's a bit offtopic, I know, but with ALL respect for moderators and peacful "my.opera forum" users. I REALLY want peace in this forums. Nothing more to say.
Get a DROPBOX invitation (extra 250 MB awarded) clicking here
Watch some Opera bugs and interesting tests clicking here
Windows alternative render method for CJK (and ordinary) fontsGDI++

Forums » Opera for Windows/Mac/Linux » Opera browser