Home > Ask the Security Experts > Security Management Questions & Answers > Is encrypting cookies a PCI DSS requirement?
Ask The Security Expert: Questions & Answers
EMAIL THIS

Is encrypting cookies a PCI DSS requirement?

Mike Rothman EXPERT RESPONSE FROM: Mike Rothman

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 03 August 2007
While scanning my company's Web server log files, I came across a log error that contained data posted during a secure credit card transaction. I mentioned it to our developer and he said that after the customer enters his or her credit card number and before submitting the final order, the credit card number is stored in the user's Web browser as a cookie. Are we responsible for encrypting the cookie on the user's system? Is this a requirement of the PCI DSS standard?

>
EXPERT RESPONSE
I know enough about Web application development to be dangerous, but I have friends that have been on the cutting edge of Web application security for years. So I figured I would ping my friend Jeremiah Grossman, CTO of White Hat Security and author of a very popular Web application security blog, to see what he had to say about encrypting cookies and PCI DSS. Here's his reply:

"General Web security best practices suggest that sensitive information, such as credit card numbers, must never be stored in cookies (or URLs for that matter). This type of data should be restricted to the POST BODY of the request and nowhere else. A primary reason is -- as the question alludes to -- the storage of the data in an uncontrolled manner on the user's system. As far as cookies are concerned, should any part of the Web site not be served up over SSL, then the credit card information would automatically pass over the wire in the clear."

"One possible solution would be to encrypt the data in the cookie, though not the recommended course of action and PCI has explicitly spelled out this nuance. It would be much better to be in line with industry best practices (and also PCI DSS) to simply remove the data from the cookie entirely and instead passing the data over POST. Another option would be to maintain a user session using cookies, and utilize a database for credit card number lookups."

That seems pretty clear; the application needs to be changed to avoid storing the customer's credit card number in the cookie. It may be a little inconvenient and require a bit more work, but that can be weighed against the cost of notifying customers of a data breach or the loss of business because you've violated customers' trust.

For more information:

  • In this expert response, Joel Dubin discusses whether or not tokenization can meet PCI DSS standards for storing credit card data.
  • In this SearchSecuity.com Q&A, discover how other types of sensitive customer data, such as driver's license information, should be handled.


  • Sound Off! -   


    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Security Management
    Is it against HIPAA regulations to permanently store sensitive information?
    Two-tier distributed systems vs. three-tier distributed systems
    How to prevent software piracy
    How would you define the responsibilities of a data custodian in a bank?
    How do ISO 17799 and SAS 70 differ?
    Has FFIEC made any VoIP-specific mandates?
    Finding lost notebooks with 'LoJack for laptops'
    What controls can compensate when segregation of duties isn't economically feasible?
    What can be done to block adult images in search engine results?
    What are the security job prospects for someone without a certification?

    PCI Data Security Standard
    Compliance recycling: Combining compliance efforts to manage PCI DSS
    PCI Requirement 6.6 has merchants gearing up
    PCI compliance extends to car washes, quick lubes
    PCI council to launch assessor quality assurance program
    The 'security standards dilemma': Network segmentation and PCI Compliance
    NSS Labs to focus research on PCI technologies
    PCI Confusion
    Trio indicted in restaurant data security breach
    PCI portal aims compliance guidance at smaller merchants
    PCI compliance and Web applications: Code review or firewalls?

    Disk Encryption and File Encryption
    How can 'DRAM remanence' compromise encryption keys?
    Growing Mac use prompts call for better security
    Websense, Reconnex top Forrester ranking of DLP vendors
    Embedded Security Safeguards Laptops
    Should whole disk encryption products be used with data backup software?
    Does FTPS encrypt data packets at the hardware or software level?
    Should disks be encrypted at the hardware level?
    Is Triple DES a more secure encryption scheme than DUKPT?
    Windows BitLocker: Enabling disk encryption for data protection
    NAC, disk encryption gaining attention, survey shows

    RELATED GLOSSARY TERMS
    Terms from Whatis.com − the technology online dictionary
    PCI DSS (Payment Card Industry Data Security Standard )  (SearchSecurity.com)

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    TechTarget Security Media
    Information Security View this month\\'s issue and subscribe today.
    Information Security Decisions Apply online for free conference admission.
    SearchSecurity.com
    HomeNewsMagazineWebcastsWhite PapersLearningAdviceTopicsEventsAbout Us

    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts