Article 3C6HW CodeSOD: Encreption

CodeSOD: Encreption

by
Remy Porter
from The Daily WTF on (#3C6HW)

You may remember "Harry Peckhard's ALM" suite from a bit back, but did you know that Harry Peckhard makes lots of other software packages and hardware systems? For example, the Harry Peckhard enterprise division releases an "Intelligent Management Center" (IMC).

How intelligent? Well, Sam N had a co-worker that wanted to use a very long password, like "correct horse battery staple", but but Harry's IMC didn't like long passwords. While diagnosing, Sam found some JavaScript in the IMC's web interface that provides some of the stongest encreption possible.

function encreptPassWord(){ var orginPassText =$("#loginForm\\:password").val(); //encrept the password var ciphertext = encode64(orginPassText); console.info('ciphertext:', ciphertext); $("#loginForm\\:password").val(ciphertext);};

This is code that was released, in a major enterprise product, from a major vendor in the space.

proget-icon.png [Advertisement] Universal Package Manager - ProGet easily integrates with your favorite Continuous Integration and Build Tools, acting as the central hub to all your essential components. Learn more today! TheDailyWtf?d=yIl2AUoC8zAG7ePm2gHkfI
External Content
Source RSS or Atom Feed
Feed Location http://syndication.thedailywtf.com/TheDailyWtf
Feed Title The Daily WTF
Feed Link http://thedailywtf.com/
Reply 0 comments