Security Advisories (1)
CVE-2026-5084 (2026-05-11)

WebDyne::Session versions through 2.075 for Perl generates the session id insecurely. The session handler generates the session id from an MD5 hash seeded with a call to the built-in rand() function. The rand function is passed a maximum value based on the process id, the epoch time and the reference address of the object, but this information will have no effect on the overall quality of the seed of the message digest. The rand function is seeded by 32-bits and is predictable. It is considered unsuitable for cryptographic purposes. Predictable session ids could allow an attacker to gain access to systems. Note that WebDyne::Session versions 1.042 and earlier appear to be in separate distributions from WebDyne.

wddump(1)

NAME

wddump - dump the data structure of a WebDyne page in the cache directory

SYNOPSIS

wddump [OPTIONS] FILE

Description

The wddump command displays internal the data structure of a compiled WebDyne psp file from the WebDyne cache directory. The wddump utility is of limited diagnostic use - the wdcompile tool is more suitable for troubleshooting HTML tree errors.

wddump can be useful to see a picture of the final data structure looks like on complex pages built via many filters, combining static and dynamic blocks etc.

Options

  • -h, --help

    Show brief help message.

Examples

# Display the data structure from a compiled, cached webdyne time.psp file. File name and location
# will vary depending on your configuration 
#
$ wdrender /var/webdyne/cache/26f2c4edc8bfd52fbde915290db96779

$VAR1 = [
  '<!DOCTYPE html><html lang="en"><head><title>Untitled Document</title><meta charset="UTF-8"><meta content="width=device-width, initial-scale=1.0" name="viewport"></head>
<body><p>The current server time is: ',
  [
    'perl',
    {
      'inline' => 1,
      'perl' => ' localtime() '
    },
    undef,
    undef,
    2,
    2,
    \'time.psp'
  ],
  '</p></body></html>'
];

Author

Written by Andrew Speer, <andrew@webdyne.org>

LICENSE and COPYRIGHT

This file is part of WebDyne.

This software is copyright (c) 2026 by Andrew Speer mailto:andrew.speer@isolutions.com.au.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

Full license text is available at:

http://dev.perl.org/licenses/