Showing posts with label three. Show all posts
Showing posts with label three. Show all posts

Sunday, March 5, 2017

Frappuccino in three flavors

Frappuccino in three flavors


Ringo Pie Block for Marit

Thank you so much for all of you who have decided
to submit a block for the Tokyo Quilt Festival to
be held in January next year. Also, thank you for
those of you who helped me spread the word about it.
It looks like I will be looking for over 50 blocks
at the festival so far! How Fun!!! If you are still
debating whether you should do it or not, I hope
youll decide to join! Weve got over 2 months to
make just one block if that sounds more doable :)
I cant wait to see what everyone comes up with!

This is a block for the Ringo Pie Bee I just finished
today. Marit wanted her blocks to have a summer theme.
"Lemonade" was the first thing that came across my mind
and then later a "Lobster", but when I saw a super enticing
ad of frappuccino at Starbucks the other day,
I immediately knew that I was going to make a frappuccino
block instead. (Sure, I love food too much!) I asked Marit
what her favorite flavor is among 1) coffee, 2) strawberry, and
3) green tea and she picked strawberry.


Ringo Pie Block for Marit

Mine is most definitely green tea! My friends often make
fun of me for liking green tea frappuccino/green tea latte
at Starbucks too much. I know Starbucks green tea frappuccino
doesnt come with green tea syrup on top of cream like this,
but it would be really cool if it did.

I dont know if its just me, but this block makes
me feel nostalgic for some reasons. I feel like
watching a movie from the 50s or something tonight
but oh no I have to start packing really bad!

We finally bought tickets to leave for Japan on June 27th.
I have such a mixed feeling about this move. Its going to
be really awesome to move to a place I have friends and family
waiting for us. And I have pretty good knowledge of the city in
Tokyo we are moving to, which makes me feel good. But I think
Ill miss my friends and my family in law here so, so, SO MUCH!
Ill miss this apartment we lived for three years.
Ill miss this wonderful weather, the beautiful, clear sky in
California. Ill miss American fabrics (Luckily there seems to
be a quite big fan base of Japanese fabric, so hopefully Ill
sweet talk some folks into fabric swaps, hehe.)
And luckily, all my close friends have promised me to
come to visit me in Tokyo soon, including one of them
who Ill see in just one week and Tamiko who Ill see in
January!) so thats making me feel better to think like that.

Ok time for me to start packing some more!


Thank you for stopping by :)
Have a lovely weekend!


Available link for download

Read more »

Saturday, March 4, 2017

Gaining Control Over Cloud Infrastructure Easy as One Two Three

Gaining Control Over Cloud Infrastructure Easy as One Two Three


Several months ago the Positive Research Center analyzed security of Citrix XenServer. Among other things, we studied the security of administration interfaces, and web interfaces of various system components in particular. As a result, we managed to find several critical vulnerabilities, which allow obtaining control not only over these components but over the master server as well, that is over the whole cloud infrastructure. The Citrix company was immediately notified of the detected vulnerabilities. After the issues had been fixed ([1], [2], [3]), the results were disclosed at the Positive Hack Days forum as part of the FastTrack section.

So lets get down to business.
While analyzing, we focused on three components of Citrix XenServer:

  1. Web Self Service — a web based virtual machine management console.
  2. vSwitch Controller — a web console for virtual network infrastructure management.
  3. License Administration Console — XenServer license management service.

We tested the latest (at the moment of the research) version of XenServer (6.0.0).

Web Self Service


This component is a web based virtual machine management console.
As in all other modules, we detected a common set of web vulnerabilities:

  • Cross-site request forgery (CSRF);
  • Cross-site scripting (stored XSS);
  • URL redirector abuse;
  • HTTP response splitting.

All forms of the application were exposed to CSRF, a lot of fields were not properly filtered, what made stored XSS possible. Moreover, on the system logon page, we detected a very "useful" parameter, allowing URL redirector abuse and HTTP response splitting. The video demonstrates the automated exploit in action. The exploit obtains an administrator cookie via the first three vulnerabilities and then covers its tracks.
  1. At first we redirect the administrator to a specially crafted page using URL redirector abuse.
  2. The page script via CSRF creates a new system account. The user name field contains a stored XSS vulnerability. We inject useful JavaScript load to the page with a user list by exploiting the vulnerability and redirect the administrator there.
  3. The injected JavaScript code sends the administrator cookie to our server and then removes the account that has just been created.


vSwitch Controller


This component was the most interesting. The following vulnerabilities were detected in it:

  • Cross-site request forgery (CSRF);
  • URL redirector abuse;
  • HTTP response splitting;
  • Insufficient authorization.

vSwitch Controller web interface uses REST API for server communication. It means that for each users action an HTTP request is generated. Depending on user privileges he or she is either allowed or not allowed to execute specific requests.

Moreover, the web interface of the vSwitch Controller allows an administrator to make configuration snapshots. Only privileged users should have the right to download these snapshots. However, it turned out that a user with read-only permissions also can download a snapshot, manually crafting a request to REST API.

GET /ws.v1/nox/snapshot//export

is substituted for the identifier of a snapshot that, which should be downloaded.
You can receive the list of all snapshots and their identifiers sending the following request:

GET /ws.v1/nox/snapshot/

The snapshot contains all vSwitch controller parameters, data of the vSwitch Controller users (account names and password hashes with salt), server SSL certificate together with a private key and plain-text credentials of the master server privileged user. You can connect via SSH to the main server of XenServer using these credentials and obtain control over the whole XenServer infrastructure. Once the access is gained, attackers’ possibilities are limited only by their imagination.

It is difficult to exploit this vulnerability as it is, because it requires privileges of a user with read-only permissions. However, the CSRF vulnerability comes to help. It allows an attacker to create a necessary account with a known password and stay unnoticed by the administrator (you only need to trick the administrator into following a phishing link).



License Administration Console


This component is meant for license management and based on Flexera Softwares free license server manager lmadmin. We managed to detect the following vulnerabilities:

  • Content spoofing;
  • Cross-site scripting (stored XSS);
  • Cross-site request forgery (CSRF);
  • Denial of service.
Reviewing the links, you can find out that the main page of the site has an interesting GET parameter – admin, which determines the address of the link to the administrator section. The value is filtered in such a way that full XSS attack is impossible, but nothing can prevent you from slipping a link to an arbitrary resource. Denial of Service can be conducted by sending only one HTTP request, in which one of the parameters is transferred as an array, for instance:

?admin[]=blah

Besides the attacker does not need to be authorized in the system. The reason is an uncaught exception if an array is transferred as a script parameter. That is why we failed to execute arbitrary code exploiting this vulnerability.

It is worth noting that the latest (at that moment) version of lmadmin already did not contain these vulnerabilities.



Finally, the following conclusion can be made: vulnerabilities ranked according to their severity as not critical should not be ignored. When applied together, several simple vulnerabilities can be exploited for conducting an attack, in the result of which an attacker will get full control over the system. Such scenarios have been successfully implemented many times (including pentesting).

No product is secured against defects; vulnerabilities have always existed and will never disappear. And it is great if vendors quickly address security issues and provide patches promptly as it happened this time, but, unfortunately, this case is not a rule.

However, risks can be mitigated. Almost all abovementioned flaws can be eliminated, if additional measures to limit access to the XenServer administration interfaces are taken. Moreover, a lot of these vulnerabilities can be triggered off by a simple CSRF attack. Increase your vigilance, especially dealing with suspicious links.

Author: Maxim Tsoy, Positive Research

Available link for download

Read more »

Tuesday, February 21, 2017

Game Three Notes

Game Three Notes


I worked the game last night for MLB.com which was certainly an experience in and of itself and too strange to relate here. So instead here are a couple thoughts on the game itself...

  • Here we go again. Right off the bat it seemed that the Rockies were in for a long night when Jacoby Ellsbury and Dustin Pedroia got hits on balls that werent well-struck to say the least. Josh Fogg was fortunate to get out of the jam after striking out David Ortiz and going to 2-0 on both Manny Ramirez and Mike Lowell.


  • Poor Decision. The top of the third was fraught with poor decision making it seemed. After Ellsbury doubled Pedroia put down a bunt that for some reason Fogg decided to let Yorvit Torrealba field. Having to come so far towards the mound Torrealba had no chance to get Pedroia at first. Clint Hurdle then went too long with Fogg and allowed him to pitch to Mike Lowell and Jason Varitek before unintentionally-intentionally walking Julio Lugo. It was clear at this point that Fogg simply didnt have it and would have to be taken out shortly regardless. Given that the season was hanging in the balance I would have expected a strikeout pitcher to be up in the pen.

    At the time the only thought I could conjure up as to why he would still be in the game is that his spot was coming up first in the bottom of the third. Even so, with Cory Sullivan in centerfield and two potential centerfielders on the bench, Hurdle could have and should have opted to double switch then and there (something he ended up doing the next time around the order with Ryan Spilborghs). But after the Daisuke Matsuzaka single he was pulled for Franklin Morales anyway who retired Pedroia for the final out. What was perplexing was that, now down 6-0, Morales was allowed to lead off the bottom of the third. Although hes a good hitting pitcher and he pitched well in his 2.3 innings of work the game situation dictated that no outs from this point forward could afford to be wasted.


  • Formualic. When Matt Herges came in to the game in the seventh he disposed of the Sox hittrs on three strikeouts and 13 pitches inducing four swinging strikes. Despite his success and that with the game now at 6-5 and the prospect of extra innings, Hurdle opted to follow his formula to the letter and bring Brian Fuentes into the game. That it didnt work out doesnt really matter, at the time it seemed like a questionable move.


  • Good Umpiring. Both contentious calls last night (Ramirez getting called out at the plate and Varitek thrown out at first by Troy Tulowitzki) were called correctly by the umpires.


  • Bad Luck. Although the Red Sox are the stronger team and would win perhaps around 70% of the series against the Rockies if one could play it over and over again, once again the Rockies got a taste of what the Phillies and DBacks experienced in the previous two series. Three defensive plays, one by Cory Sullivan on a sinking liner to his right, one by Troy Tulowitzki on a Coco Crisp liner up the middle, and the other by Brad Hawpe on a ball down the right field line, were an eyelash from being caught. Meanwhile, pinch hitters Jeff Baker and Willy Taveras both hit line drives that were caught by Sox infielders.

  • Available link for download

    Read more »