// I need to

ModernizeUpgrade without breaking it RescueFix what someone else started Build NewTurn an idea into a product Reach More PeopleGet found, get used, include everyone

// Company

Case StudiesExpertiseAbout + CareersResourcesContact Book a call →

Did you work on a Rails app? It's extremely vulnerable. Tell someone to update it!

Rails apps you once worked on may be open to exploits found in late 2012 that allow arbitrary code execution. Get someone to update to Rails 3.2.11.

Art+Logic Feb 5, 20131 min read

From the Art+Logic archive · written in 2013. The tools may have moved on; the thinking still holds.

Photo of train tracks by Julian Hochgesang on Unsplash

Rails logoHave you ever worked on a Rails app?  That app is vulnerable to a new crop of exploits discovered in the waning days of 2012.  Rails 3.2.11 (and 2.3, 3.0, and 3.1 releases) patches those flaws, but until someone runs gem update or bundle , an attacker can execute arbitrary code on that machine.

Patrick McKenzie’s excellent blog post inspired this commentary.  Read on for a reiteration of his suggestions.

What’s your responsibility to the apps you’ve worked on?  Have you moved on to another job, or has your product been transferred to another company?  Was it for a client that hasn’t been responsive recently?  Does the sysadmin not follow Rails news, or is there no sysadmin at all?  If you can’t update the Rails gem yourself, consider a courtesy email to someone responsible:

I have previously worked on XYZ app, and want to let the current maintainer of the app know that a set of new security holes for the underlying technology have been found.  It is extremely important that the application be updated immediately, which is an easy task.  Leaving the application vulnerable to widespread, automated attacks compromises its server and, indeed, the entire network and all data connected to that server.

Please feel free to contact me for more details.  The following links may be helpful:

Sincerely,

Every Developer

What’s the danger to yourself?

If you still have a Rails server running on your development machine, or the box gathering dust in the corner, it’s vulnerable.  As Patrick writes, “No, it does not matter that the Internet can’t connect to your localhost:3000, because your browser can, and your browser will follow the attacker’s instructions to do so.”  Update the Rails gem, or terminate the server.

How can you keep up with Rails news?  Follow the Riding Rails blog (syndicated feed).

keep going

More to explore in Build New.

All Build New resources →
let's talk

Got a problem like this one?

Tell us what's stuck. A real person replies within one business day.

Talk to our team →

Talk to people who know software, not a sales script.

Your first call is with Aja, our VP of Sales. He'll help make sure you're solving the right problem. Here's what you'll cover together:

  1. What you're trying to accomplish

    The business goal first, then the technology.

  2. Possible approaches

    And the tradeoffs of each, in plain language.

  3. Risks you may not have considered

    Technical and business, before they cost you.

  4. Whether AI changes the math

    What's practical, and what's just hype for your project.

  5. Sensible next steps

    Even if the right next step is not us.

book-a-call.ics

Loading the scheduler…

Open the booking page →

Some problems are easier to explain in writing. Send us a few lines about what you're working on, and we'll reply within one business day. Helpful to include:

  1. What the software does, or should do
  2. What's stuck, or what's worrying you
  3. Any deadline or budget you have in mind
note.md

Loading the form…