Vulnerabilities > CVE-2013-3565 - Cross-site Scripting vulnerability in multiple products

047910
CVSS 6.1 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
LOW
Integrity impact
LOW
Availability impact
NONE
network
low complexity
videolan
opensuse
CWE-79
nessus

Summary

Multiple cross-site scripting (XSS) vulnerabilities in the HTTP Interface in VideoLAN VLC Media Player before 2.0.7 allow remote attackers to inject arbitrary web script or HTML via the (1) command parameter to requests/vlm_cmd.xml, (2) dir parameter to requests/browse.xml, or (3) URI in a request, which is returned in an error message through share/lua/intf/http.lua.

Vulnerable Configurations

Part Description Count
Application
Videolan
108
OS
Opensuse
1

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Embedding Scripts in Non-Script Elements
    This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
  • Embedding Scripts within Scripts
    An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
  • Cross-Site Scripting in Error Pages
    An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
  • Cross-Site Scripting Using Alternate Syntax
    The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.

Nessus

  • NASL familyWindows
    NASL idVLC_2_0_7.NASL
    descriptionThe version of VLC media player installed on the remote host is earlier than 2.0.7 and is, therefore, affected by the following vulnerabilities: - The web interface contains a flaw that does not validate input passed via XML services resulting in a cross-site scripting vulnerability. - A flaw exists in the XML services of the web interface that may allow a remote attacker to execute media player commands. - A flaw exists that could lead to a denial of service / memory consumption when loading a malicious playlist.
    last seen2020-06-01
    modified2020-06-02
    plugin id69015
    published2013-07-23
    reporterThis script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/69015
    titleVLC < 2.0.7 Multiple Vulnerabilities
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(69015);
      script_version("1.8");
      script_cvs_date("Date: 2019/11/27");
    
      script_cve_id("CVE-2013-3564", "CVE-2013-3565", "CVE-2013-7340");
      script_bugtraq_id(60705, 66546);
    
      script_name(english:"VLC < 2.0.7 Multiple Vulnerabilities");
      script_summary(english:"Checks version of VLC");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote Windows host contains a media player that is affected by
    multiple vulnerabilities.");
      script_set_attribute(attribute:"description", value:
    "The version of VLC media player installed on the remote host is earlier
    than 2.0.7 and is, therefore, affected by the following vulnerabilities:
    
      - The web interface contains a flaw that does not validate
        input passed via XML services resulting in a cross-site
        scripting vulnerability.
    
      - A flaw exists in the XML services of the web interface
        that may allow a remote attacker to execute media player
        commands.
    
      - A flaw exists that could lead to a denial of service / 
        memory consumption when loading a malicious playlist.");
      # http://blog.spiderlabs.com/2013/06/twsl2013-006-cross-site-scripting-vulnerability-in-coldbox.html
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6f33883d");
      script_set_attribute(attribute:"see_also", value:"https://www.trustwave.com/Resources/Security-Advisories/Advisories/TWSL2013-007/?fid=3876&dl=1");
      script_set_attribute(attribute:"see_also", value:"http://www.videolan.org/vlc/releases/2.0.7.html");
      script_set_attribute(attribute:"solution", value:
    "Upgrade to VLC version 2.0.7 or later.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2013-7340");
    
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
      script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2013/06/10");
      script_set_attribute(attribute:"patch_publication_date", value:"2013/05/26");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/07/23");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:videolan:vlc_media_player");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Windows");
    
      script_copyright(english:"This script is Copyright (C) 2013-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
    
      script_dependencies("vlc_installed.nasl");
      script_require_keys("SMB/VLC/Version");
    
      exit(0);
    }
    
    include("audit.inc");
    include("global_settings.inc");
    include("misc_func.inc");
    
    vuln_plugins_installed = make_list();
    version = get_kb_item_or_exit("SMB/VLC/Version");
    
    path = get_kb_item_or_exit("SMB/VLC/File");
    path = ereg_replace(pattern:"^(.+)\\[^\\]+$", replace:"\1", string:path);
    
    port = get_kb_item("SMB/transport");
    if (!port) port = 445;
    
    # nb: 'version' may look like '0.9.8a'!
    if (
      version =~ "^[01]\." ||
      version =~ "^2\.0\.[0-6]($|[^0-9])"
    )
    {
      set_kb_item(name:"www/"+port+"/XSS", value:TRUE);
      if (report_verbosity > 0)
      {
        report =
          '\n  Path              : ' + path +
          '\n  Installed version : ' + version +
          '\n  Fixed version     : 2.0.7\n';
        security_warning(port:port, extra:report);
      }
      else security_warning(port);
      exit(0);
    }
    else audit(AUDIT_INST_PATH_NOT_VULN, "VLC", version, path);
    
  • NASL familySuSE Local Security Checks
    NASL idOPENSUSE-2014-178.NASL
    descriptionVLC was updated to version 2.1.3 (bnc#864422) : + Core : - Fix broken behaviour with SOCKSv5 proxies - Fix integer overflow on error when using vlc_readdir + Access : - Fix DVB-T2 tuning on Linux. - Fix encrypted DVD playback. - Fix v4l2 frequency conversion. + Decoders : - Fix numerous issues (M2TS, VC1 interlaced, Lagarith, FFv1.3, Xvid) by updating codec libraries. - Bring fluidsynth back on Mac OS X - Fix some Opus crashes with some filters - Fix teletext crash on Windows + Demuxers : - Avoid an infinite recursion in MKV tags parsing - Fix an issue with some Vobsub tracks - Fix missing samples at the end of some wav files - Fix divide by 0 on ASF/WMV parsing + Audio output : - Fix audio device selection via command line on Mac OS X - Fix audio crashes on Mac OS X + Video Output : - Fix selection of DirectDraw as the default output for XP - Fix transform off-by-one issue - Fix screensaver disabling on Windows outputs - Fix DirectDraw device enumeration and multi-display output - Fix a potential crash when playing a fullscreen game at the same time as VLC + Stream output : - Fix 24bits audio MTU alignment in RTP - Fix record file names + Qt interface : - Fix minimal size possible on start - Fix a crash with the simple volume widget - Fix a crash in the audio menu building - Fix multimedia keys issues on Windows - Fix opening of DVD and BD folders on Windows + HTTP interface: Fix album art display on Windows. + Updated translations. - Add update-desktop-files BuildRequires and %desktop_database_post/postun calls to respective scriptlets: Fix https://bugs.links2linux.org/browse/PM-108 - Update to version 2.1.2 : + Audio output : - Fix digital playback on OS X when more than one audio device is installed. - Fix digital playback (SPDIF/HDMI) on Windows. - Fix stuttering or silent playback when using sound enhancers or external audio devices on OS X. - Improve responsiveness on OS X when playback starts or is being paused. - Improve responsiveness, silent playback intervals and reliability on iOS. + Demuxers : - Fix Vimeo and DailyMotion parsing. - Various WMV playback improvements and fixes. + Decoders : - Fix LPCM 20/24-bit decoding and 16 bits with channel padding. - Fix playback of some HEVC samples. + Video filters: Fix crash on deinterlace selection. + Qt interface : - Fix some streaming profiles when copy existed. - Improve A-B loop control. - Fix album art update when changing media. + Mac OS X interface adjustments. + Win32 installer: Kill running VLC process on uninstall/update. + Updated translations. - More features (by adding BuildRequires) : + IDN Support (International Domain Names): libidn-devel + SFTP Access: libssh2-devel + HotKey Support: xcb-util-keysyms-devel + Complete SDL Stack: SDL_image-devel + ProjectM suppor (for openSUSE >= 12.3) - Update to version 2.1.1 : + Core : - Fix random and reshuffling behaviour. - Fix recording. - Fix some subtitles track selection. + Decoders : - VP9 support in WebM. - HEVC/H.265 support in MKV, MP4 and raw files. - Fix GPU decoding under Windows (DxVA2) crashes. + Demuxers : - Fix crashes on wav, mlp and mkv and modplug files. - Support Speex in ogg files. - Fix some .mov playlists support. - Support Alac in mkv. - Fix WMV3 and palette in AVI. - Fix FLAC packetizer issues in some files. + Access : - Fix DVB options parsing. - Fix DeckLink HDMI input. - Fix HTTPS connectivity on OS X by loading root certificates from Keychain. + Audio output : - Fixes for DirectSound pass-through. - Fixes for OSS output, notably on BSD. + Interfaces : - Fix HTTP interface infinite loop. - Fix D-Bus volume setting. + Qt : - Reinstore right click subtitle menu to open a subtitle. - Fix saving the hotkeys in preferences. - Fix saving the audio volume on Win32, using DirectSound. - Fix play after drag
    last seen2020-06-05
    modified2014-06-13
    plugin id75273
    published2014-06-13
    reporterThis script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/75273
    titleopenSUSE Security Update : vlc (openSUSE-SU-2014:0315-1)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were
    # extracted from openSUSE Security Update openSUSE-2014-178.
    #
    # The text description of this plugin is (C) SUSE LLC.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(75273);
      script_version("1.4");
      script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04");
    
      script_cve_id("CVE-2013-3565");
    
      script_name(english:"openSUSE Security Update : vlc (openSUSE-SU-2014:0315-1)");
      script_summary(english:"Check for the openSUSE-2014-178 patch");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote openSUSE host is missing a security update."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "VLC was updated to version 2.1.3 (bnc#864422) :
    
      + Core :
    
      - Fix broken behaviour with SOCKSv5 proxies
    
      - Fix integer overflow on error when using vlc_readdir
    
      + Access :
    
      - Fix DVB-T2 tuning on Linux.
    
      - Fix encrypted DVD playback.
    
      - Fix v4l2 frequency conversion.
    
      + Decoders :
    
      - Fix numerous issues (M2TS, VC1 interlaced, Lagarith,
        FFv1.3, Xvid) by updating codec libraries.
    
      - Bring fluidsynth back on Mac OS X
    
      - Fix some Opus crashes with some filters
    
      - Fix teletext crash on Windows
    
      + Demuxers :
    
      - Avoid an infinite recursion in MKV tags parsing
    
      - Fix an issue with some Vobsub tracks
    
      - Fix missing samples at the end of some wav files
    
      - Fix divide by 0 on ASF/WMV parsing
    
      + Audio output :
    
      - Fix audio device selection via command line on Mac OS X
    
      - Fix audio crashes on Mac OS X
    
      + Video Output :
    
      - Fix selection of DirectDraw as the default output for XP
    
      - Fix transform off-by-one issue
    
      - Fix screensaver disabling on Windows outputs
    
      - Fix DirectDraw device enumeration and multi-display
        output
    
      - Fix a potential crash when playing a fullscreen game at
        the same time as VLC
    
      + Stream output :
    
      - Fix 24bits audio MTU alignment in RTP
    
      - Fix record file names
    
      + Qt interface :
    
      - Fix minimal size possible on start
    
      - Fix a crash with the simple volume widget
    
      - Fix a crash in the audio menu building
    
      - Fix multimedia keys issues on Windows
    
      - Fix opening of DVD and BD folders on Windows
    
      + HTTP interface: Fix album art display on Windows.
    
      + Updated translations.
    
      - Add update-desktop-files BuildRequires and
        %desktop_database_post/postun calls to respective
        scriptlets: Fix
        https://bugs.links2linux.org/browse/PM-108
    
      - Update to version 2.1.2 :
    
      + Audio output :
    
      - Fix digital playback on OS X when more than one audio
        device is installed.
    
      - Fix digital playback (SPDIF/HDMI) on Windows.
    
      - Fix stuttering or silent playback when using sound
        enhancers or external audio devices on OS X.
    
      - Improve responsiveness on OS X when playback starts or
        is being paused.
    
      - Improve responsiveness, silent playback intervals and
        reliability on iOS.
    
      + Demuxers :
    
      - Fix Vimeo and DailyMotion parsing.
    
      - Various WMV playback improvements and fixes.
    
      + Decoders :
    
      - Fix LPCM 20/24-bit decoding and 16 bits with channel
        padding.
    
      - Fix playback of some HEVC samples.
    
      + Video filters: Fix crash on deinterlace selection.
    
      + Qt interface :
    
      - Fix some streaming profiles when copy existed.
    
      - Improve A-B loop control.
    
      - Fix album art update when changing media.
    
      + Mac OS X interface adjustments.
    
      + Win32 installer: Kill running VLC process on
        uninstall/update.
    
      + Updated translations.
    
      - More features (by adding BuildRequires) :
    
      + IDN Support (International Domain Names): libidn-devel
    
      + SFTP Access: libssh2-devel
    
      + HotKey Support: xcb-util-keysyms-devel
    
      + Complete SDL Stack: SDL_image-devel
    
      + ProjectM suppor (for openSUSE >= 12.3)
    
      - Update to version 2.1.1 :
    
      + Core :
    
      - Fix random and reshuffling behaviour.
    
      - Fix recording.
    
      - Fix some subtitles track selection.
    
      + Decoders :
    
      - VP9 support in WebM.
    
      - HEVC/H.265 support in MKV, MP4 and raw files.
    
      - Fix GPU decoding under Windows (DxVA2) crashes.
    
      + Demuxers :
    
      - Fix crashes on wav, mlp and mkv and modplug files.
    
      - Support Speex in ogg files.
    
      - Fix some .mov playlists support.
    
      - Support Alac in mkv.
    
      - Fix WMV3 and palette in AVI.
    
      - Fix FLAC packetizer issues in some files.
    
      + Access :
    
      - Fix DVB options parsing.
    
      - Fix DeckLink HDMI input.
    
      - Fix HTTPS connectivity on OS X by loading root
        certificates from Keychain.
    
      + Audio output :
    
      - Fixes for DirectSound pass-through.
    
      - Fixes for OSS output, notably on BSD.
    
      + Interfaces :
    
      - Fix HTTP interface infinite loop.
    
      - Fix D-Bus volume setting.
    
      + Qt :
    
      - Reinstore right click subtitle menu to open a subtitle.
    
      - Fix saving the hotkeys in preferences.
    
      - Fix saving the audio volume on Win32, using DirectSound.
    
      - Fix play after drag'n drop.
    
      - Fix streaming options edition and scale parameter.
    
      + Stream out :
    
      - Fix transcoding audio drift issues.
    
      - Fix numerous audio encoding issues.
    
      + Win32 installer :
    
      - Important rewrite to fix numerous bugs, notably about
        updates.
    
      - Simplification of the upgrade mechanism.
    
      + Mac OS X interface :
    
      - Reintroduce the language selector known from pre-2.1
        releases.
    
      - Fix fullscreen behaviour and various crashes.
    
      - Fix about dialog crash in Japanese.
    
      - Fix crashes on proxy lookups.
    
      - Fixes on the playlist and information behaviours.
    
      - Fixes on the streaming dialogs.
    
      - Improves interface resizings.
    
      + Updated translations.
    
      - Pass --with-default-font=[path] and
    
        --with-default-monospace-font=[path] to configure.
    
      - Drop fix_font_path.patch: replaced with configure
        parameters above.
    
      - Recommend 'vlc' by vlc-qt: some users might go
        installing the UI package directly. Having Qt most
        likely also means the user has X, so we at least
        recommend the vlc package relying on X.
    
      - Force creation of plugins cache in vlc-nox %post,
        instead of just touching the file, for details see
        https://trac.videolan.org/vlc/ticket/9807#comment:2
    
      - Update License: A lot has been relicensed to LGPL-2.1."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugs.links2linux.org/browse/PM-108"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://bugzilla.novell.com/show_bug.cgi?id=864422"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://lists.opensuse.org/opensuse-updates/2014-03/msg00001.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://trac.videolan.org/vlc/ticket/9807#comment:2"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected vlc packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvlc5");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvlc5-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvlccore7");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libvlccore7-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-debugsource");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-devel");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-gnome");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-gnome-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-noX");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-noX-debuginfo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-noX-lang");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-qt");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:vlc-qt-debuginfo");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:13.1");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2020/01/31");
      script_set_attribute(attribute:"patch_publication_date", value:"2014/02/22");
      script_set_attribute(attribute:"plugin_publication_date", value:"2014/06/13");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2014-2020 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"SuSE Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/SuSE/release");
    if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
    if (release !~ "^(SUSE13\.1)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "13.1", release);
    if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    ourarch = get_kb_item("Host/cpu");
    if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
    if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
    
    flag = 0;
    
    if ( rpm_check(release:"SUSE13.1", reference:"libvlc5-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"libvlc5-debuginfo-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"libvlccore7-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"libvlccore7-debuginfo-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-debuginfo-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-debugsource-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-devel-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-gnome-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-gnome-debuginfo-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-noX-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-noX-debuginfo-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-noX-lang-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-qt-2.1.3-10.1") ) flag++;
    if ( rpm_check(release:"SUSE13.1", reference:"vlc-qt-debuginfo-2.1.3-10.1") ) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());
      else security_warning(0);
      exit(0);
    }
    else
    {
      tested = pkg_tests_get();
      if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      else audit(AUDIT_PACKAGE_NOT_INSTALLED, "vlc");
    }