Microsoft Office – OLE Packager allows code execution in all Office versions
seclists.org
seclists.org
The execution of %TEMP%\PAYLOAD.EXE was blocked.
I highly urge everyone to deploy a strong Software Restriction Policy in whitelist mode. It catches everything we've thrown at it so far.
https://msdn.microsoft.com/en-us/library/dd548340%28v=ws.10%...
and I would guess it's very closely related to SRP -
https://technet.microsoft.com/en-us/library/ee424371%28v=ws....
The SalesOrder.rtf file is safe to try at work. All it does is lock your workstation. It should work behind Software Restriction Policy and Microsoft AppLocker (and Citrix Application thingy).
Attempting to open it with the default Windows Based Script Host results in a dialog box from Software Restriction Policy stating that execution was blocked.
This means that any exe (or scr, bat, vbs, etc), ran from any other location, will not run at all.
This of course caused problems with GoToMeeting and Google Chrome (and other programs that install to AppData), but the fix was to track down the msi installer for corporate deployments to have it install to Program Files.
That's a poor example. Powershell scripts won't execute by default at all, and a lot of enterprise customers will only execute scripts signed by the internal CA.
Off the top of my head I cannot think of too many new ways of running executable code. Microsoft has only been removing them, not adding news ones. Powershell is one of the few new ones and is designed from the ground up expressly not to allow this type of thing.
Which is why he specifically said "powershell embeds without any security warning", I suspect. :|
https://blog.netspi.com/15-ways-to-bypass-the-powershell-exe...
A) An argument to powershell.exe which Office will not supply when executing the ps1 file or
B) Interacting with the powershell window after it's opened (which you can't do without already having some sort of code execution) or
C) The execution policy being set to something that allows unsigned code.
A and B are impossible, and C can be locked down with group policy to the point that local administrator rights can't bypass.
Executing a ps1 with the appropriate parameters after executing something else may be possible, but also redundant.
Yes it did. It always had default execution policy to not allow scripts to execute. Not sure how it was set in the Monad days before PowerShell 1.0 was released, but for as long as it has been called PowerShell, execution policy has been part of it.
On top of that, the .ps1 file extension is associated with notepad - not the PowerShell interpreter. When you "invoke" a ps1 file (like double-clicking it or have some program like outlook take default action), Windows will open notepad unless you explicitly associates .ps1 with another program.
Then they added linking, so when the spreadsheet was updated, your report would update too. So you could make the report early, let Accounting update the spreadsheet, then just let the report auto-update.
I'm pretty sure Outlook uses the Word rendering engine. And dragging documents into Outlook is one of the ways to attach/embed a file into the email. So I'm pretty sure this still leverages that code.
I'm actually guessing this is almost everywhere. Maybe it didn't get put into Vista (where a number of security enhancements like the 2-level model aka UAC elevation got made) but it's still all over Office. I wonder if IE is impacted.
And that's great, until someone inserts a couple of rows into the range you've linked. Or moves the file. Or any one of another hundred things could happen to upset the OLE Gods.
Do not go anywhere near OLE linking... that way lies madness.
I've love to know a scenario where OLE is actually used today.
Does it play no part in all of the [Clojure/Python/other langauge]-in-Excel posts that tend to get a decent number of upvotes here?Maybe I'm mistaken about that - but it could have powered the kind of uber-notebook-in-Emacs packages that seem to be gaining popularity lately - twenty years ago.
I spent some time trying to automation Powerpoint and Excel creation via Python, which is based vaguely on the capability: http://clebio.github.io/pythonOfficePresentation.html
Unrelated to Microsoft Office, I wrote a Perl utility that would run QXDM (telecom call testing software) via OLE in order to automate the initiation and answering of cellphone calls (think drive-testing or load-testing a cellular network). It was quite useful. Qualcomm, who licenses QXDM, had a fairly good reference document for the OLE interface to the program.
COM/DCOM, where OLE rests, can be very secure if they are properly used.
By the way, OLE is used widely mainly in Microsoft products.
Past that, it's probably just there to make legacy software work like so many other problem-causing, Windows features. :)
- They used a static list of file extensions to blacklist
- This hasn't been kept up to date, powershell scripts are automatically executed
- There is no way to disable it
- Embedded files are executed within a trusted directory
I'm guessing Microsoft has to tread very lightly when messing with OLE, I bet a lot of legacy software from large Microsoft customers uses it.
Powershell won't execute AT ALL by default. You have to enable execution. And it certainly won't execute automatically, the user has to click to run.
User clicks executable in office it launches....
vs
User clicks executable in explorer(or other software) it launches....
All the more reason to use OpenOffice.Org or LibreOffice.
Why should Microsoft continue to support office below 2007?
- Benjamin "Ben" Parker, 1962
- Me, applying that logic to this situation, 1435872794 seconds since Jan 01 1970
They are stuck on older Windows versions that cannot run the latest Office versions.
I noticed a lot of companies still stick with XP. I watched the Terminator Genisys movie and had a display in the hallway with a pop-up that said XP support has ended. A lot of Movie Theaters use XP still. The US Navy still uses XP and an old version of Office.
I've done tech support for people still on XP, 2000, and Vista. I think if they run Vista they got a good chance to buy Windows 10 Pro for $164 but it will break compatibility with their Office Software and force them to do a fresh install.
A lot of business software is written for older versions of Office.
I tried to make a Virtual Machine creating service if a company has the licenses I can make a Virtual Box or QEMU virtual machine with the old version of Windows and Office in it if they give me their license keys and pay me for their labor. But nobody wants to do that yet.
I plan on running Linux on my main box at home and run Windows in virtual machines if Windows 10 ends up being buggy as all heck.
Related Protip: If you go to a bank/doctors office or anywhere else that wants a large amount of personal data from you, don't give it to them if they are still running XP. (If enough people did this all of the sudden it would become affordable)
I always had a plan of staying behind one current version on everything and buying it used. A Windows 7 Pro PC used would cost $150 and an Office 2010 Pro license disk would cost $100 used. If they went with that plan, they'd get the free Windows 10 upgrade.
A used Windows 8 PC costs $300 and there are cheap Windows 8 tablets for $100 but limited to 32 bits.
I'm trying to convince people on XP to switch to Linux and use WINE to run their old legacy Windows apps on it. But nobody wants to do that for some reason.
Most people want something for nothing. Will write bad checks and do chargebacks on their credit card to get free PCs and free repairs. Then we get forced to cash only, and then they go to the Big Box stores that are open Sundays and take in store credit cards.
I got a lot of friends and family members running an old Pentium 4 with XP and some upgraded to Windows 7 somehow. From time to time I fix their systems for free or a low cost.
PC Repair Shop had a deal, we'd install Linux for free but tech support was extra. A few took us up on the offer and had a good time using FOSS alternatives. We even set up Linux with SAMBA on Windows PC networks to share files and printers. But there was no money in it because 99% of the people and businesses wanted Windows.
Geeksquad refuses to support old Windows versions, so I get people with Windows 98 etc from time to time. You'd be amazed at the number of people out there still running old Windows and Office versions. Some even use old versions of Wordperfect. My wife volunteers and sometimes someone emails her a Wordperfect file and I use Libreoffice to open them.
I found in doing charity work, that a lot of charities still use old hardware and software that is no longer supported. Some of the old stuff is donated to third world nations where they still use it instead of recycling the materials for scrap.
buy Windows 10 Pro for $164 but it will break compatibility with their Office Software
How so?http://www.keynotesupport.com/windows/microsoft-windows-offi...
If they can't keep up with the Microsoft treadmill, they couldn't afford Microsoft software in the first place - and yet they did it, and it's biting them now.
Working in the Microsoft or Apple ecosystems mean that you are committing to keep spending money in their direction for as long as you are in that ecosystem. It might be worth your while, or it might not - as these business you talk about are finding out.
And if you say "oh, but these businesses must run Office because of their customers/providers/governments/contracts" - well then, those businesses are not making enough money, and are thus unsustainable -- not any different that doing anything else at loss.
Most System Administrators and Technicians know only Windows and don't know how to support Linux.
Some companies use Linux as a server to save money, but not as a desktop.
That's the original post I was responding to. In the context of the discussion, I was referring to a business that made so little money they couldn't afford to buy software licenses. The original poster said one option was that they shouldn't exist as a business. I merely said that one possible option for a business in this situation is to use Linux on the desktop. Apparently the alternative is that, much like a dead parrot, they cease to exist.
Obviously, I wasn't referring to an ordinary business, nor am I advocating this approach normally.
In the long run that descision will cost them more, than buying the correct tools in the first place - so if they cannot afford it, it's hard to justify the existince of that business. Perhaps it's a telling sign of a manager that doesn't understand the implication of that decision, or a dying business.
Inspiron 3646 - $259.00
Microsoft Office 365 small business (5 machines/1 year) - $97.98 / 5 = $19.60 (5 cents a day)
Total: $278.6 per machine
1:http://outlet.us.dell.com/ARBOnlineSales/Online/SecondaryInv...2:http://www.mychoicesoftware.com/products/microsoft-office-36...
Fortunately, LO sees 'em right.
(... now that the pre-SSE2 bug is fixed, hampered by no dev running such a box.)
Considering that most desktop boxes consume 200 to 400 watts typically, the cost of Pi could be recovered fairly quickly in the saved electric costs.
Sadly, Office on the Pi2 will cost money. Luckily, Raspbian and LibreOffice are still 100% free.
Sad thing is, with Windows Licensing v.7, you barely get what you paid for, and only if you use Free Software as leverage to get a low enough price.
Home users don't give a damm about source code and just pirate what they cannot buy.
They see little value in using less functional software (on their eyes) vs what the commercial products offer.
I say this as an unapologetic user of all software closed source, Windows, Office, et al. I send files in .docx without asking if my peers even have Windows. I use Google Maps and closed source everything everywhere always.
But, even I cannot deny: if this were open source, many of the points leading up to this bug could be addressed without any help from the vendor.
I'm not sure thats fair. Yes you can, but I'm guessing you aren't the type of person to be caught running software 7 years after its EOL.
Or put it this way, Office 2003 was discontinued in 2007. Thats like running Debian 3.1 today (Sarge, 5 stable releases ago), and complaining about continued support. RHEL2.1 was EOL'd in 2008 (RHEL6 is the "old guard" now).
If you wouldn't expect continued support for Debian 3.1 or RHEL2.1 in 2015 there's, I don't see why its a problem for Microsoft or how it makes open source any better. Sure, yes you could patch Debian 3.1 yourself, but ultimately how fruitful is this effort, and how many people can be expected to to write kernel patches? Even if Microsoft said tomorrow Office 2003 was open source, how many individuals could you expect to have the know to patch their installations?
Or pay a vendor to maintain it for you - I know Collabora will maintain versions of any age if you pay them to do so. May be cheaper to run a newer version for free and upgrade hardware/OS as needed, if you're insisting on the Mac version anyway.
You're not doing well on the rhetorical questions here ...
The sysadmin locked down every possible way to run executables apart from those he exposed in Program Manager. Of course, everyone had Word. Simply embedding an OLE object let me run any exe.