Difference between revisions of "Failure to add integrity check value"

Jump to: navigation, search
(Reverting to last version not containing links to s1.shard.jp)
Line 1: Line 1:
[http://s1.shard.jp/bireba/nortonantivirus.html nortan antivirus 2005 activation key
] [http://s1.shard.jp/losaul/yamaha-outboard.html australian alps animals
] [http://s1.shard.jp/galeach/new164.html gay asian men videos
] [http://s1.shard.jp/losaul/melbourne-airport.html buyers edge australia
] [http://s1.shard.jp/galeach/new75.html 031615976x amazon.com asian exec obidos
] [http://s1.shard.jp/frhorton/j1znr5lny.html african bull elephant] [http://s1.shard.jp/bireba/www-avg-antivirus.html antivirus software for download
] [http://s1.shard.jp/frhorton/qwl7aihru.html ostrich farms in south africa
] [http://s1.shard.jp/bireba/norton-antivirus.html antivirus software free trial
] [http://s1.shard.jp/losaul/townsville-australia.html ergonomics society of australia
] [http://s1.shard.jp/losaul/real-estate.html map new zealand and australia
] [http://s1.shard.jp/bireba/avg-antivirus.html antivirus software information
] [http://s1.shard.jp/bireba/norton-antivirus.html mdaemon antivirus keygen
] [http://s1.shard.jp/losaul/australia-british.html coorain australia
] [http://s1.shard.jp/galeach/new172.html is euthanasia legal in the u.s.
] [http://s1.shard.jp/bireba/alerta-antiviruses.html alerta antivirus.es] [http://s1.shard.jp/frhorton/yoc3js17e.html elephants african] [http://s1.shard.jp/olharder/autoroll-654.html http] [http://s1.shard.jp/frhorton/bnd824p72.html yardley cosmetics south africa
] [http://s1.shard.jp/frhorton/3l4malzai.html african american population by city] [http://s1.shard.jp/bireba/panda-antivirus.html symantic antivirus client
] [http://s1.shard.jp/olharder/autoroll-654.html url] [http://s1.shard.jp/bireba/nortons-antivirus.html symantec antivirus corporate edition 10.0 2.2000
] [http://s1.shard.jp/losaul/china-export-to.html pedders australia
] [http://s1.shard.jp/frhorton/bq5czt3ax.html cheap air flights south african airlines jaipur
] [http://s1.shard.jp/bireba/sonicwall-complete.html sonicwall complete antivirus] [http://s1.shard.jp/bireba/avg-vs-avast.html pc cillin 2000 antivirus
] [http://s1.shard.jp/frhorton/qpxrkrvqf.html african art authenticity
] [http://s1.shard.jp/frhorton/8qgvhwuw2.html natural resource of south africa
] [http://s1.shard.jp/frhorton/ds9o5dtz4.html africaine peinture
] [http://s1.shard.jp/galeach/new30.html asian hong kong tv
] [http://s1.shard.jp/olharder/vancouver-auto.html autowrap.com
] [http://s1.shard.jp/bireba/mcaffe-antivirus.html 2006 winantivirus
] [http://s1.shard.jp/losaul/australia-brisbane.html womens golf australia
] [http://s1.shard.jp/frhorton/kqcuriisf.html just lettings south africa
] [http://s1.shard.jp/bireba/removing-norton.html grisoft antivirus
] [http://s1.shard.jp/frhorton/smui5er3r.html property south africa for sale] [http://s1.shard.jp/galeach/new78.html asian chandelier
] [http://s1.shard.jp/galeach/new63.html gutter asian street meat
] [http://s1.shard.jp/olharder/autoridad-nacional.html auto coverage farmer insurance online proof
] [http://s1.shard.jp/losaul/steel-houses-australia.html steel houses australia] [http://s1.shard.jp/olharder/long-term-auto.html autowest dodge roseville
] [http://s1.shard.jp/losaul/microbiology.html australia china flight from
] [http://s1.shard.jp/bireba/review-zone-alarm.html antivirus realtime protection failed to load
] [http://s1.shard.jp/frhorton/qfadevngy.html africa check credit south
] [http://s1.shard.jp/bireba/eztrust-antivirus.html pc cillin antivirus 11
] [http://s1.shard.jp/galeach/new112.html asia booking hotel room
] [http://s1.shard.jp/galeach/new94.html asia manufacturer

Revision as of 06:50, 3 June 2009

This is a Vulnerability. To view all vulnerabilities, please see the Vulnerability Category page.

Last revision (mm/dd/yy): 06/3/2009

Vulnerabilities Table of Contents


If integrity check values or "checksums" are omitted from a protocol, there is no way of determining if data has been corrupted in transmission.


  • Integrity: Data that is parsed and used may be corrupted.
  • Non-repudiation: Without a checksum it is impossible to determine if any changes have been made to the data after it was sent.

Exposure period

  • Design: Checksums are an aspect of protocol design and should be handled there.
  • Implementation: Checksums must be properly created and added to the messages in the correct manner to ensure that they are correct when sent.


  • Languages: All
  • Platforms: All

Required resources

Network proximity: Some ability to inject messages into a stream, or otherwise corrupt network traffic, would be required to capitalize on this flaw.



Likelihood of exploit


The failure to include checksum functionality in a protocol removes the first application-level check of data that can be used. The end-to-end philosophy of checks states that integrity checks should be performed at the lowest level that they can be completely implemented. Excluding further sanity checks and input validation performed by applications, the protocol's checksum is the most important level of checksum, since it can be performed more completely than at any previous level and takes into account entire messages, as opposed to single packets.

Failure to add this functionality to a protocol specification, or in the implementation of that protocol, needlessly ignores a simple solution for a very significant problem and should never be skipped.

Risk Factors



In C/C++:

int r,s;
struct hostent *h;
struct sockaddr_in rserv,lserv;
memcpy((char *) &rserv.sin_addr.s_addr, h->h_addr_list[0]
rserv.sin_port= htons(1008);
s = socket(AF_INET,SOCK_DGRAM,0);

lserv.sin_family = AF_INET;
lserv.sin_addr.s_addr = htonl(INADDR_ANY);
lserv.sin_port = htons(0);

r = bind(s, (struct sockaddr *) &lserv,sizeof(lserv));
   ,(struct sockaddr *) &rserv, sizeof(rserv));

In Java:

while(true) {
  DatagramPacket rp=new DatagramPacket(rData,rData.length);
  String in = new String(p.getData(),0, rp.getLength());
  InetAddress IPAddress = rp.getAddress();
  int port = rp.getPort();
    out = secret.getBytes();
    DatagramPacket sp =new DatagramPacket(out,out.length,
      IPAddress, port);

Related Attacks

Related Vulnerabilities

Related Controls

  • Design: Add an appropriately sized checksum to the protocol, ensuring that data received may be simply validated before it is parsed and used.
  • Implementation: Ensure that the checksums present in the protocol design are properly implemented and added to each message before it is sent.

Related Technical Impacts